2019-12-29 03:10:33 +00:00
|
|
|
{ stdenv, fetchurl, perl, icu, zlib, gmp, lib, nqp }:
|
2014-06-10 23:12:33 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-12-29 03:10:33 +00:00
|
|
|
pname = "rakudo";
|
2020-06-23 12:16:23 +00:00
|
|
|
version = "2020.06";
|
2014-06-10 23:12:33 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-03-05 11:59:32 +00:00
|
|
|
url = "https://www.rakudo.org/dl/rakudo/rakudo-${version}.tar.gz";
|
2020-06-23 12:16:23 +00:00
|
|
|
sha256 = "06kj8vfkkspmcdyd3zf2pyxwmijbbfnhv3jcaihvb8p3za5gxn2c";
|
2014-06-10 23:12:33 +00:00
|
|
|
};
|
|
|
|
|
2019-12-29 03:10:33 +00:00
|
|
|
buildInputs = [ icu zlib gmp perl ];
|
2014-06-10 23:12:33 +00:00
|
|
|
configureScript = "perl ./Configure.pl";
|
2019-12-29 03:10:33 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--backends=moar"
|
|
|
|
"--with-nqp=${nqp}/bin/nqp"
|
|
|
|
];
|
|
|
|
|
|
|
|
# Some tests fail on Darwin
|
|
|
|
doCheck = !stdenv.isDarwin;
|
2014-06-10 23:12:33 +00:00
|
|
|
|
2016-06-07 17:50:54 +00:00
|
|
|
meta = with stdenv.lib; {
|
2019-12-29 03:10:33 +00:00
|
|
|
description = "Raku implementation on top of Moar virtual machine";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.rakudo.org";
|
2016-06-07 17:50:54 +00:00
|
|
|
license = licenses.artistic2;
|
|
|
|
platforms = platforms.unix;
|
2019-12-29 03:10:33 +00:00
|
|
|
maintainers = with maintainers; [ thoughtpolice vrthra sgo ];
|
2014-06-10 23:12:33 +00:00
|
|
|
};
|
|
|
|
}
|