3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/jasmin/test-assemble-hello-world/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
253 B
Nix
Raw Normal View History

2019-11-05 18:50:31 +00:00
{ 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
'';
}