nixpkgs/nixos/tests/photonvision.nix

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

25 lines
452 B
Nix
Raw Normal View History

2024-02-06 07:51:17 +00:00
import ./make-test-python.nix (
{ pkgs, lib, ... }:
{
name = "photonvision";
nodes = {
machine =
{ pkgs, ... }:
{
services.photonvision = {
enable = true;
};
};
2024-02-06 07:51:17 +00:00
};
testScript = ''
start_all()
machine.wait_for_unit("photonvision.service")
machine.wait_for_open_port(5800)
'';
meta.maintainers = with lib.maintainers; [ max-niederman ];
}
)