mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
21 lines
398 B
Nix
21 lines
398 B
Nix
import ./make-test-python.nix ({ pkgs, ...} : {
|
|
name = "ammonite";
|
|
meta = with pkgs.stdenv.lib.maintainers; {
|
|
maintainers = [ nequissimus ];
|
|
};
|
|
|
|
nodes = {
|
|
amm =
|
|
{ pkgs, ... }:
|
|
{
|
|
environment.systemPackages = [ pkgs.ammonite ];
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
start_all()
|
|
|
|
amm.succeed("amm -c 'val foo = 21; println(foo * 2)' | grep 42")
|
|
'';
|
|
})
|