a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
20 lines
423 B
Nix
20 lines
423 B
Nix
import ./make-test-python.nix ({ pkgs, ...} : {
|
|
name = "ammonite";
|
|
meta = with pkgs.lib.maintainers; {
|
|
maintainers = [ nequissimus ];
|
|
};
|
|
|
|
nodes = {
|
|
amm =
|
|
{ pkgs, ... }:
|
|
{
|
|
environment.systemPackages = [ (pkgs.ammonite.override { jre = pkgs.jre8; }) ];
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
start_all()
|
|
|
|
amm.succeed("amm -c 'val foo = 21; println(foo * 2)' | grep 42")
|
|
'';
|
|
})
|