2020-04-24 23:36:52 +00:00
|
|
|
import ./make-test-python.nix ({ pkgs, ...} : {
|
|
|
|
name = "ammonite";
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with pkgs.lib.maintainers; {
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ nequissimus ];
|
|
|
|
};
|
|
|
|
|
|
|
|
nodes = {
|
|
|
|
amm =
|
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2020-11-06 00:33:48 +00:00
|
|
|
environment.systemPackages = [ (pkgs.ammonite.override { jre = pkgs.jre8; }) ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
testScript = ''
|
|
|
|
start_all()
|
|
|
|
|
|
|
|
amm.succeed("amm -c 'val foo = 21; println(foo * 2)' | grep 42")
|
|
|
|
'';
|
|
|
|
})
|