mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
880695f4c5
dependencies: nqp: 2020.05 -> 2020.06 moarvm: 2020.05 -> 2020.06
30 lines
806 B
Nix
30 lines
806 B
Nix
{ stdenv, fetchurl, perl, icu, zlib, gmp, lib, nqp }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rakudo";
|
|
version = "2020.06";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.rakudo.org/dl/rakudo/rakudo-${version}.tar.gz";
|
|
sha256 = "06kj8vfkkspmcdyd3zf2pyxwmijbbfnhv3jcaihvb8p3za5gxn2c";
|
|
};
|
|
|
|
buildInputs = [ icu zlib gmp perl ];
|
|
configureScript = "perl ./Configure.pl";
|
|
configureFlags = [
|
|
"--backends=moar"
|
|
"--with-nqp=${nqp}/bin/nqp"
|
|
];
|
|
|
|
# Some tests fail on Darwin
|
|
doCheck = !stdenv.isDarwin;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Raku implementation on top of Moar virtual machine";
|
|
homepage = "https://www.rakudo.org";
|
|
license = licenses.artistic2;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ thoughtpolice vrthra sgo ];
|
|
};
|
|
}
|