forked from mirrors/nixpkgs
13 lines
253 B
Nix
13 lines
253 B
Nix
{ stdenv, jasmin, jre }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "jasmin-test-assemble-hello-world";
|
|
meta.timeout = 60;
|
|
buildCommand = ''
|
|
${jasmin}/bin/jasmin ${./HelloWorld.j}
|
|
${jre}/bin/java HelloWorld | grep "Hello World"
|
|
touch $out
|
|
'';
|
|
}
|
|
|