2020-09-25 04:45:31 +00:00
|
|
|
import ./make-test-python.nix ({ pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
name = "robustirc-bridge";
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with pkgs.lib.maintainers; {
|
2020-09-25 04:45:31 +00:00
|
|
|
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)
|
|
|
|
'';
|
|
|
|
})
|