Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
29 lines
563 B
Nix
29 lines
563 B
Nix
import ./make-test-python.nix ({ pkgs, ... }:
|
|
|
|
{
|
|
name = "robustirc-bridge";
|
|
meta = with pkgs.lib.maintainers; {
|
|
maintainers = [ hax404 ];
|
|
};
|
|
|
|
nodes =
|
|
{ bridge =
|
|
{ services.robustirc-bridge = {
|
|
enable = true;
|
|
extraFlags = [
|
|
"-listen localhost:6667"
|
|
"-network example.com"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
|
|
testScript =
|
|
''
|
|
start_all()
|
|
|
|
bridge.wait_for_unit("robustirc-bridge.service")
|
|
bridge.wait_for_open_port(1080)
|
|
bridge.wait_for_open_port(6667)
|
|
'';
|
|
})
|