2015-09-08 08:17:21 +01:00
|
|
|
import ./make-test.nix ({ pkgs, ... }: {
|
|
|
|
name = "mathics";
|
|
|
|
meta = with pkgs.stdenv.lib.maintainers; {
|
|
|
|
maintainers = [ benley ];
|
|
|
|
};
|
|
|
|
|
|
|
|
nodes = {
|
2018-07-20 21:56:59 +01:00
|
|
|
machine = { ... }: {
|
2015-09-08 08:17:21 +01:00
|
|
|
services.mathics.enable = true;
|
|
|
|
services.mathics.port = 8888;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
testScript = ''
|
|
|
|
startAll;
|
|
|
|
$machine->waitForUnit("mathics.service");
|
|
|
|
$machine->waitForOpenPort(8888);
|
|
|
|
$machine->succeed("curl http://localhost:8888/");
|
|
|
|
'';
|
|
|
|
})
|