nixpkgs/nixos/tests/mealie.nix
Andrew Morgan fc81ca6408 mealie: add 'anoa' as maintainer
I'm happy to help maintain this package going forwards.
2024-05-24 09:17:47 -05:00

24 lines
446 B
Nix

import ./make-test-python.nix ({ pkgs, ...} :
{
name = "mealie";
meta = with pkgs.lib.maintainers; {
maintainers = [ litchipi anoa ];
};
nodes = {
server = {
services.mealie = {
enable = true;
port = 9001;
};
};
};
testScript = ''
start_all()
server.wait_for_unit("mealie.service")
server.wait_for_open_port(9001)
server.succeed("curl --fail http://localhost:9001")
'';
})