mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
ccb142916c
dependencies: moarvm: 2020.01.1 -> 2020.02 nqp: 2020.01 -> 2020.01 recommended: zef: 0.8.2 -> 0.8.3
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.02";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/rakudo/rakudo/releases/download/${version}/rakudo-${version}.tar.gz";
|
|
sha256 = "0yhld3ij4mfa42chkfph7lzcl5q9b613hdjmw9rv46appmxvvmrs";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|