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