mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
30 lines
851 B
Nix
30 lines
851 B
Nix
{ stdenv, fetchurl, perl, icu, zlib, gmp, readline
|
|
, CoreServices, ApplicationServices }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "rakudo-star-${version}";
|
|
version = "2017.01";
|
|
|
|
src = fetchurl {
|
|
url = "http://rakudo.org/downloads/star/${name}.tar.gz";
|
|
sha256 = "07zjqdzxm30pmjqwlnr669d75bsbimy09sk0dvgm0pnn3zr92fjq";
|
|
};
|
|
|
|
buildInputs = [ icu zlib gmp readline perl ]
|
|
++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ApplicationServices ];
|
|
configureScript = "perl ./Configure.pl";
|
|
configureFlags =
|
|
[ "--backends=moar"
|
|
"--gen-moar"
|
|
"--gen-nqp"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A Perl 6 implementation";
|
|
homepage = "http://www.rakudo.org";
|
|
license = licenses.artistic2;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ thoughtpolice vrthra ];
|
|
};
|
|
}
|