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