mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
17 lines
364 B
Nix
17 lines
364 B
Nix
|
import ./make-test.nix ({ lib, ...}:
|
||
|
|
||
|
{
|
||
|
name = "jellyfin";
|
||
|
meta.maintainers = with lib.maintainers; [ minijackson ];
|
||
|
|
||
|
machine =
|
||
|
{ ... }:
|
||
|
{ services.jellyfin.enable = true; };
|
||
|
|
||
|
testScript = ''
|
||
|
$machine->waitForUnit('jellyfin.service');
|
||
|
$machine->waitForOpenPort('8096');
|
||
|
$machine->succeed("curl --fail http://localhost:8096/");
|
||
|
'';
|
||
|
})
|