mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
0b0cd3f6aa
* mxisd: remove See EOL notice at https://github.com/kamax-matrix/mxisd/blob/master/EOL.md#end-of-life-notice * mxisd: Add throwing EOL notice
22 lines
481 B
Nix
22 lines
481 B
Nix
import ./make-test-python.nix ({ pkgs, ... } : {
|
|
|
|
name = "mxisd";
|
|
meta = with pkgs.lib.maintainers; {
|
|
maintainers = [ mguentner ];
|
|
};
|
|
|
|
nodes = {
|
|
server = args : {
|
|
services.mxisd.enable = true;
|
|
services.mxisd.matrix.domain = "example.org";
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
start_all()
|
|
server.wait_for_unit("mxisd.service")
|
|
server.wait_for_open_port(8090)
|
|
server.succeed("curl -Ssf 'http://127.0.0.1:8090/_matrix/identity/api/v1'")
|
|
'';
|
|
})
|