mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
22 lines
508 B
Nix
22 lines
508 B
Nix
import ./make-test.nix ({ pkgs, ... } : {
|
|
|
|
name = "mxisd";
|
|
meta = with pkgs.stdenv.lib.maintainers; {
|
|
maintainers = [ mguentner ];
|
|
};
|
|
|
|
nodes = {
|
|
server_mxisd = args : {
|
|
services.mxisd.enable = true;
|
|
services.mxisd.matrix.domain = "example.org";
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
startAll;
|
|
$server_mxisd->waitForUnit("mxisd.service");
|
|
$server_mxisd->waitForOpenPort(8090);
|
|
$server_mxisd->succeed("curl -Ssf \"http://127.0.0.1:8090/_matrix/identity/api/v1\"")
|
|
'';
|
|
})
|