-
-
Save solson/f57f7a0133ecb187b2d5e9dbf2efc52c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchurl, perl, icu, zlib, gmp, readline }: | |
stdenv.mkDerivation rec { | |
name = "rakudo-star-${version}"; | |
version = "2018.10"; | |
src = fetchurl { | |
url = "http://rakudo.org/downloads/star/${name}.tar.gz"; | |
sha256 = "0im3cd5rs2pbcgjmaqgd3yxrvdhz19s0vj6zi8lv7rldnlh454d4"; | |
}; | |
buildInputs = [ icu zlib gmp readline perl ]; | |
configureScript = "perl ./Configure.pl"; | |
configureFlags = | |
[ "--backends=moar" | |
"--gen-moar" | |
"--gen-nqp" | |
]; | |
postInstall = '' | |
ln -s $out/share/perl/site/bin/* $out/bin | |
''; | |
# FIXME(solson): This works around a problem with the `bin/zef install` step. | |
HOME = "/tmp"; | |
NO_NETWORK_TESTING = "1"; | |
meta = with stdenv.lib; { | |
description = "A Perl 6 implementation"; | |
homepage = https://www.rakudo.org; | |
license = licenses.artistic2; | |
platforms = platforms.unix; | |
maintainers = with maintainers; [ thoughtpolice vrthra ]; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment