1import ./make-test-python.nix ({ pkgs, lib, ... }:
2 {
3 name = "pict-rs";
4 meta.maintainers = with lib.maintainers; [ happysalada ];
5
6 nodes.machine = { ... }: {
7 environment.systemPackages = with pkgs; [ curl jq ];
8 services.pict-rs.enable = true;
9 };
10
11 testScript = ''
12 start_all()
13
14 machine.wait_for_unit("pict-rs")
15 machine.wait_for_open_port(8080)
16 '';
17 })