1import ./make-test-python.nix (
2 { lib, ... }:
3
4 {
5 name = "lidarr";
6 meta.maintainers = with lib.maintainers; [ etu ];
7
8 nodes.machine =
9 { pkgs, ... }:
10 {
11 services.lidarr.enable = true;
12 };
13
14 testScript = ''
15 start_all()
16
17 machine.wait_for_unit("lidarr.service")
18 machine.wait_for_open_port(8686)
19 machine.succeed("curl --fail http://localhost:8686/")
20 '';
21 }
22)