2019-11-08 17:03:40 +00:00
|
|
|
import ./make-test-python.nix ({ lib, ...}:
|
2019-04-28 10:02:32 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
name = "jellyfin";
|
|
|
|
meta.maintainers = with lib.maintainers; [ minijackson ];
|
|
|
|
|
|
|
|
machine =
|
|
|
|
{ ... }:
|
|
|
|
{ services.jellyfin.enable = true; };
|
|
|
|
|
|
|
|
testScript = ''
|
2019-11-08 17:03:40 +00:00
|
|
|
machine.wait_for_unit("jellyfin.service")
|
|
|
|
machine.wait_for_open_port(8096)
|
|
|
|
machine.succeed("curl --fail http://localhost:8096/")
|
2019-04-28 10:02:32 +01:00
|
|
|
'';
|
|
|
|
})
|