2019-12-29 03:10:33 +00:00
|
|
|
{ stdenv, fetchurl, perl
|
|
|
|
, CoreServices, ApplicationServices }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "moarvm";
|
2020-12-20 08:37:12 +00:00
|
|
|
version = "2020.12";
|
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-12-20 08:37:12 +00:00
|
|
|
sha256 = "18iys1bdb92asggrsz7sg1hh76j7kq63c3fgg33fnla18qf4z488";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|