1import ./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)