2016-04-03 07:14:05 +02:00
|
|
|
{ stdenv, fetchurl, perl, icu, zlib, gmp, readline }:
|
2014-06-11 01:12:33 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "rakudo-star-${version}";
|
2016-06-07 19:50:54 +02:00
|
|
|
version = "2016.04";
|
2014-06-11 01:12:33 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://rakudo.org/downloads/star/${name}.tar.gz";
|
2016-06-07 19:50:54 +02:00
|
|
|
sha256 = "11xzgwy155xpagrn3gzg8vqnqgjxwar70a3gzzmc9sica5064pva";
|
2014-06-11 01:12:33 +02:00
|
|
|
};
|
|
|
|
|
2016-04-03 07:14:05 +02:00
|
|
|
buildInputs = [ icu zlib gmp readline perl ];
|
2014-06-11 01:12:33 +02:00
|
|
|
configureScript = "perl ./Configure.pl";
|
|
|
|
configureFlags =
|
2016-04-03 07:14:05 +02:00
|
|
|
[ "--backends=moar"
|
2015-04-04 06:18:24 +02:00
|
|
|
"--gen-moar"
|
2014-06-11 01:12:33 +02:00
|
|
|
"--gen-nqp"
|
|
|
|
];
|
|
|
|
|
2016-06-07 19:50:54 +02:00
|
|
|
meta = with stdenv.lib; {
|
2014-06-11 01:12:33 +02:00
|
|
|
description = "A Perl 6 implementation";
|
|
|
|
homepage = "http://www.rakudo.org";
|
2016-06-07 19:50:54 +02:00
|
|
|
license = licenses.artistic2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.thoughtpolice ];
|
2014-06-11 01:12:33 +02:00
|
|
|
};
|
|
|
|
}
|