mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
17 lines
365 B
Nix
17 lines
365 B
Nix
import ./make-test-python.nix ({ lib, ...}:
|
|
|
|
{
|
|
name = "jellyfin";
|
|
meta.maintainers = with lib.maintainers; [ minijackson ];
|
|
|
|
machine =
|
|
{ ... }:
|
|
{ services.jellyfin.enable = true; };
|
|
|
|
testScript = ''
|
|
machine.wait_for_unit("jellyfin.service")
|
|
machine.wait_for_open_port(8096)
|
|
machine.succeed("curl --fail http://localhost:8096/")
|
|
'';
|
|
})
|