2025-05-01 12:49:18 +02:00
|
|
|
{
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
name = "eintopf";
|
|
|
|
|
meta.maintainers = with lib.maintainers; [ onny ];
|
2024-07-03 11:24:22 +02:00
|
|
|
|
2025-05-01 12:49:18 +02:00
|
|
|
nodes = {
|
|
|
|
|
eintopf = {
|
|
|
|
|
services.eintopf.enable = true;
|
2024-07-03 11:24:22 +02:00
|
|
|
};
|
2025-05-01 12:49:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
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'")
|
|
|
|
|
'';
|
2024-07-03 11:24:22 +02:00
|
|
|
|
2025-05-01 12:49:18 +02:00
|
|
|
}
|