2019-12-29 04:10:33 +01:00
|
|
|
{ stdenv, fetchurl, perl
|
|
|
|
, CoreServices, ApplicationServices }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "moarvm";
|
2020-08-24 19:31:37 +02:00
|
|
|
version = "2020.08";
|
2019-12-29 04:10:33 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-02-26 16:06:51 +01:00
|
|
|
url = "https://www.moarvm.org/releases/MoarVM-${version}.tar.gz";
|
2020-08-24 19:31:37 +02:00
|
|
|
sha256 = "1gq7z4z5lnkai01721waawkkal82sdmyra05nnbfb1986mq5xpiy";
|
2020-02-26 16:06:51 +01:00
|
|
|
};
|
2019-12-29 04:10:33 +01: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 16:06:51 +01:00
|
|
|
homepage = "https://www.moarvm.org/";
|
2019-12-29 04:10:33 +01:00
|
|
|
license = licenses.artistic2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ thoughtpolice vrthra sgo ];
|
|
|
|
};
|
|
|
|
}
|