mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
18 lines
423 B
Nix
18 lines
423 B
Nix
import ./make-test-python.nix ({ lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
name = "nzbhydra2";
|
|
meta.maintainers = with maintainers; [ jamiemagee ];
|
|
|
|
nodes.machine = { pkgs, ... }: { services.nzbhydra2.enable = true; };
|
|
|
|
testScript = ''
|
|
machine.start()
|
|
machine.wait_for_unit("nzbhydra2.service")
|
|
machine.wait_for_open_port(5076)
|
|
machine.succeed("curl --fail http://localhost:5076/")
|
|
'';
|
|
})
|