2016-04-03 06:14:05 +01:00
|
|
|
{ stdenv, fetchurl, perl, icu, zlib, gmp, readline }:
|
2014-06-11 00:12:33 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "rakudo-star-${version}";
|
2016-04-03 06:14:05 +01:00
|
|
|
version = "2016.01";
|
2014-06-11 00:12:33 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://rakudo.org/downloads/star/${name}.tar.gz";
|
2016-04-03 06:14:05 +01:00
|
|
|
sha256 = "feb385c5d05166061f413882e442d3a0ec53884918768940d3f00bb63bc85497";
|
2014-06-11 00:12:33 +01:00
|
|
|
};
|
|
|
|
|
2016-04-03 06:14:05 +01:00
|
|
|
buildInputs = [ icu zlib gmp readline perl ];
|
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"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Perl 6 implementation";
|
|
|
|
homepage = "http://www.rakudo.org";
|
|
|
|
license = stdenv.lib.licenses.artistic2;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|