2019-12-29 03:10:33 +00:00
|
|
|
{ stdenv, fetchurl, perl
|
|
|
|
, CoreServices, ApplicationServices }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "moarvm";
|
2020-09-28 00:32:18 +01:00
|
|
|
version = "2020.09";
|
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-09-28 00:32:18 +01:00
|
|
|
sha256 = "08prlvnyqwnzb7mwaqvgv662v78xgwsyy12cpyim6gc4z0i1kcj8";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|