2014-06-11 01:12:33 +02:00
|
|
|
{ stdenv, fetchurl, perl, jdk, icu, zlib, gmp, readline }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "rakudo-star-${version}";
|
2015-04-04 06:18:24 +02:00
|
|
|
version = "2015.03";
|
2014-06-11 01:12:33 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://rakudo.org/downloads/star/${name}.tar.gz";
|
2015-04-04 06:18:24 +02:00
|
|
|
sha256 = "1fwvmjyc1bv3kq7p25xyl4sqinp19mbrspmf0h7rvxlwnfcrr5mv";
|
2014-06-11 01:12:33 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ icu zlib gmp readline jdk perl ];
|
|
|
|
configureScript = "perl ./Configure.pl";
|
|
|
|
configureFlags =
|
2015-04-04 06:18:24 +02:00
|
|
|
[ "--backends=moar,jvm"
|
|
|
|
"--gen-moar"
|
2014-06-11 01:12:33 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|