repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'staging-next' into staging
[NixPkgs.git]
/
nixos
/
tests
/
mealie.nix
blob
88f749c7129484146d0d0d7b3c96db620d630aac
1
import ./make-test-python.nix ({ pkgs, ...} :
2
3
{
4
name = "mealie";
5
meta = with pkgs.lib.maintainers; {
6
maintainers = [ litchipi ];
7
};
8
9
nodes = {
10
server = {
11
services.mealie = {
12
enable = true;
13
port = 9001;
14
};
15
};
16
};
17
18
testScript = ''
19
start_all()
20
server.wait_for_unit("mealie.service")
21
server.wait_for_open_port(9001)
22
server.succeed("curl --fail http://localhost:9001")
23
'';
24
})