nixpkgs/nixos/tests/pict-rs.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
384 B
Nix
Raw Normal View History

{ pkgs, lib, ... }:
{
name = "pict-rs";
meta.maintainers = with lib.maintainers; [ happysalada ];
2021-09-30 21:15:08 +09:00
nodes.machine =
{ ... }:
{
environment.systemPackages = with pkgs; [
curl
jq
];
services.pict-rs.enable = true;
};
2021-09-30 21:15:08 +09:00
testScript = ''
start_all()
2021-09-30 21:15:08 +09:00
machine.wait_for_unit("pict-rs")
machine.wait_for_open_port(8080)
'';
}