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
bandwhich: 0.23.0 -> 0.23.1; move to by-name; nixfmt; useFetchCargoVendor (#356934)
[NixPkgs.git]
/
nixos
/
tests
/
pict-rs.nix
blob
12109c74138d16ff3f7d3e25c098bea68187bc2b
1
import ./make-test-python.nix (
2
{ pkgs, lib, ... }:
3
{
4
name = "pict-rs";
5
meta.maintainers = with lib.maintainers; [ happysalada ];
6
7
nodes.machine =
8
{ ... }:
9
{
10
environment.systemPackages = with pkgs; [
11
curl
12
jq
13
];
14
services.pict-rs.enable = true;
15
};
16
17
testScript = ''
18
start_all()
19
20
machine.wait_for_unit("pict-rs")
21
machine.wait_for_open_port(8080)
22
'';
23
}
24
)