2019-12-29 03:10:33 +00:00
|
|
|
{ stdenv, fetchurl, perl, icu, zlib, gmp, lib, nqp }:
|
2014-06-11 00:12:33 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-12-29 03:10:33 +00:00
|
|
|
pname = "rakudo";
|
2020-03-05 11:59:32 +00:00
|
|
|
version = "2020.02.1";
|
2014-06-11 00:12:33 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-03-05 11:59:32 +00:00
|
|
|
url = "https://www.rakudo.org/dl/rakudo/rakudo-${version}.tar.gz";
|
|
|
|
sha256 = "1qfaiqfclqd6zz04xl90yiqkvmm610r905nnbd6gszgyq1k77ckv";
|
2014-06-11 00:12:33 +01:00
|
|
|
};
|
|
|
|
|
2019-12-29 03:10:33 +00:00
|
|
|
buildInputs = [ icu zlib gmp perl ];
|
2014-06-11 00:12:33 +01:00
|
|
|
configureScript = "perl ./Configure.pl";
|
2019-12-29 03:10:33 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--backends=moar"
|
|
|
|
"--with-nqp=${nqp}/bin/nqp"
|
|
|
|
];
|
|
|
|
|
|
|
|
# Some tests fail on Darwin
|
|
|
|
doCheck = !stdenv.isDarwin;
|
2014-06-11 00:12:33 +01:00
|
|
|
|
2016-06-07 18:50:54 +01:00
|
|
|
meta = with stdenv.lib; {
|
2019-12-29 03:10:33 +00:00
|
|
|
description = "Raku implementation on top of Moar virtual machine";
|
2018-06-27 21:12:57 +01:00
|
|
|
homepage = https://www.rakudo.org;
|
2016-06-07 18:50:54 +01:00
|
|
|
license = licenses.artistic2;
|
|
|
|
platforms = platforms.unix;
|
2019-12-29 03:10:33 +00:00
|
|
|
maintainers = with maintainers; [ thoughtpolice vrthra sgo ];
|
2014-06-11 00:12:33 +01:00
|
|
|
};
|
|
|
|
}
|