Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
24 lines
446 B
Nix
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")
|
|
'';
|
|
})
|