forked from mirrors/nixpkgs
28 lines
750 B
Nix
28 lines
750 B
Nix
{ stdenv, fetchurl, perl, jdk, icu, zlib, gmp, readline }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "rakudo-star-${version}";
|
|
version = "2015.11";
|
|
|
|
src = fetchurl {
|
|
url = "http://rakudo.org/downloads/star/${name}.tar.gz";
|
|
sha256 = "1rzabg8daxf2g4l1njhdv3gfav91mp3y9my0mpz2xw06cxqfsjki";
|
|
};
|
|
|
|
buildInputs = [ icu zlib gmp readline jdk perl ];
|
|
configureScript = "perl ./Configure.pl";
|
|
configureFlags =
|
|
[ "--backends=moar,jvm"
|
|
"--gen-moar"
|
|
"--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 ];
|
|
};
|
|
}
|