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-08-24 18:35:04 +01:00
|
|
|
version = "2020.08.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";
|
2020-08-24 18:35:04 +01:00
|
|
|
sha256 = "1jwlqppm2g6ivzpipkcyihsxzsii3qyx1f35n7wj5dsf99b3hkfm";
|
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";
|
2020-04-01 02:11:51 +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
|
|
|
};
|
|
|
|
}
|