mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
25bef2d8f9
The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
30 lines
563 B
Nix
30 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)
|
|
'';
|
|
})
|