2016-08-12 06:07:39 +01:00
|
|
|
{ stdenv, fetchurl, perl, icu, zlib, gmp, readline
|
|
|
|
, CoreServices, ApplicationServices }:
|
2014-06-11 00:12:33 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "rakudo-star";
|
2017-02-08 00:58:14 +00:00
|
|
|
version = "2017.01";
|
2014-06-11 00:12:33 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://rakudo.org/downloads/star/${pname}-${version}.tar.gz";
|
2017-02-08 00:58:14 +00:00
|
|
|
sha256 = "07zjqdzxm30pmjqwlnr669d75bsbimy09sk0dvgm0pnn3zr92fjq";
|
2014-06-11 00:12:33 +01:00
|
|
|
};
|
|
|
|
|
2016-08-12 06:07:39 +01:00
|
|
|
buildInputs = [ icu zlib gmp readline perl ]
|
|
|
|
++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ApplicationServices ];
|
2014-06-11 00:12:33 +01:00
|
|
|
configureScript = "perl ./Configure.pl";
|
|
|
|
configureFlags =
|
2016-04-03 06:14:05 +01:00
|
|
|
[ "--backends=moar"
|
2015-04-04 05:18:24 +01:00
|
|
|
"--gen-moar"
|
2014-06-11 00:12:33 +01:00
|
|
|
"--gen-nqp"
|
|
|
|
];
|
|
|
|
|
2016-06-07 18:50:54 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-06-11 00:12:33 +01:00
|
|
|
description = "A Perl 6 implementation";
|
2018-06-27 21:12:57 +01:00
|
|
|
homepage = https://www.rakudo.org;
|
2016-06-07 18:50:54 +01:00
|
|
|
license = licenses.artistic2;
|
|
|
|
platforms = platforms.unix;
|
2017-02-08 00:58:14 +00:00
|
|
|
maintainers = with maintainers; [ thoughtpolice vrthra ];
|
2014-06-11 00:12:33 +01:00
|
|
|
};
|
|
|
|
}
|