nixpkgs/nixos/tests/orthanc.nix

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

28 lines
455 B
Nix
Raw Permalink Normal View History

2025-03-14 09:09:38 +01:00
{ lib, ... }:
{
name = "orthanc";
nodes = {
machine =
{ pkgs, ... }:
{
services.orthanc = {
enable = true;
settings = {
HttpPort = 12345;
};
};
};
};
testScript = ''
machine.start()
machine.wait_for_unit("orthanc.service")
machine.wait_for_open_port(12345)
machine.wait_for_open_port(4242)
'';
meta.maintainers = [ lib.maintainers.drupol ];
}