mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
e66cbc5f65
dependencies: - moarvm: init at 2020.01.1 - nqp: init at 2020.01 - zef: init 0.8.2 Replaced the rakudo-star distribution with packages for raku, moarvm, nqp and zef.
30 lines
833 B
Nix
30 lines
833 B
Nix
{ stdenv, fetchurl, perl, icu, zlib, gmp, lib, nqp }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rakudo";
|
|
version = "2020.01";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/rakudo/rakudo/releases/download/${version}/rakudo-${version}.tar.gz";
|
|
sha256 = "1c63ns90zy13gyj0l27k63q7dv08w4589w605nywd7pplbygq0if";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|