2019-12-29 03:10:33 +00:00
|
|
|
{ stdenv, fetchurl, perl
|
|
|
|
, CoreServices, ApplicationServices }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "moarvm";
|
2020-07-22 13:03:56 +00:00
|
|
|
version = "2020.07";
|
2019-12-29 03:10:33 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-02-26 15:06:51 +00:00
|
|
|
url = "https://www.moarvm.org/releases/MoarVM-${version}.tar.gz";
|
2020-07-22 13:03:56 +00:00
|
|
|
sha256 = "1kzp76vqvny8gpp0b4xg1hg4vih4gmic4w1lddc9gqz03dx8hj6s";
|
2020-02-26 15:06:51 +00:00
|
|
|
};
|
2019-12-29 03:10:33 +00:00
|
|
|
|
|
|
|
buildInputs = [ perl ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ApplicationServices ];
|
|
|
|
doCheck = false; # MoarVM does not come with its own test suite
|
|
|
|
|
|
|
|
configureScript = "${perl}/bin/perl ./Configure.pl";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "VM with adaptive optimization and JIT compilation, built for Rakudo";
|
2020-02-26 15:06:51 +00:00
|
|
|
homepage = "https://www.moarvm.org/";
|
2019-12-29 03:10:33 +00:00
|
|
|
license = licenses.artistic2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ thoughtpolice vrthra sgo ];
|
|
|
|
};
|
|
|
|
}
|