nixpkgs/nixos/tests/robustirc-bridge.nix

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

29 lines
499 B
Nix
Raw Permalink Normal View History

{ pkgs, ... }:
2020-08-30 18:31:54 +02:00
{
name = "robustirc-bridge";
meta = with pkgs.lib.maintainers; {
maintainers = [ hax404 ];
};
2020-08-30 18:31:54 +02:00
nodes = {
bridge = {
services.robustirc-bridge = {
enable = true;
extraFlags = [
"-listen localhost:6667"
"-network example.com"
];
2020-08-30 18:31:54 +02:00
};
};
};
2020-08-30 18:31:54 +02:00
testScript = ''
start_all()
2020-08-30 18:31:54 +02:00
bridge.wait_for_unit("robustirc-bridge.service")
bridge.wait_for_open_port(1080)
bridge.wait_for_open_port(6667)
'';
}