2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, perl, icu, zlib, gmp, lib, nqp }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "rakudo";
|
2020-10-07 09:15:18 +00:00
|
|
|
version = "2020.09";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.rakudo.org/dl/rakudo/rakudo-${version}.tar.gz";
|
2020-10-07 09:15:18 +00:00
|
|
|
sha256 = "1izfwns7viwy0x9hnhx13j9w5qa97qpyxqk9cd8iax7i68z057m7";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ icu zlib gmp perl ];
|
|
|
|
configureScript = "perl ./Configure.pl";
|
|
|
|
configureFlags = [
|
|
|
|
"--backends=moar"
|
|
|
|
"--with-nqp=${nqp}/bin/nqp"
|
|
|
|
];
|
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
# Remove test of profiler, fails since 2020.09
|
|
|
|
preCheck = "rm t/09-moar/01-profilers.t";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
# Some tests fail on Darwin
|
|
|
|
doCheck = !stdenv.isDarwin;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Raku implementation on top of Moar virtual machine";
|
|
|
|
homepage = "https://www.rakudo.org";
|
|
|
|
license = licenses.artistic2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ thoughtpolice vrthra sgo ];
|
|
|
|
};
|
|
|
|
}
|