mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
25 lines
374 B
Nix
25 lines
374 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
name = "lauti";
|
|
meta.maintainers = with lib.maintainers; [ onny ];
|
|
|
|
nodes = {
|
|
lauti = {
|
|
services.lauti.enable = true;
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
lauti.start
|
|
lauti.wait_for_unit("lauti.service")
|
|
lauti.wait_for_open_port(3333)
|
|
lauti.succeed("curl -sSfL http://lauti:3333 | grep 'No events available'")
|
|
'';
|
|
|
|
}
|