mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
17 lines
346 B
Nix
17 lines
346 B
Nix
{ lib, ... }:
|
|
{
|
|
name = "whisparr";
|
|
meta.maintainers = [ lib.maintainers.paveloom ];
|
|
|
|
nodes.machine =
|
|
{ pkgs, ... }:
|
|
{
|
|
services.whisparr.enable = true;
|
|
};
|
|
|
|
testScript = ''
|
|
machine.wait_for_unit("whisparr.service")
|
|
machine.wait_for_open_port(6969)
|
|
machine.succeed("curl --fail http://localhost:6969/")
|
|
'';
|
|
}
|