1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/interpreters/rakudo/default.nix

30 lines
808 B
Nix
Raw Normal View History

{ stdenv, fetchurl, perl, icu, zlib, gmp, lib, nqp }:
stdenv.mkDerivation rec {
pname = "rakudo";
2020-08-24 18:35:04 +01:00
version = "2020.08.1";
src = fetchurl {
url = "https://www.rakudo.org/dl/rakudo/rakudo-${version}.tar.gz";
2020-08-24 18:35:04 +01:00
sha256 = "1jwlqppm2g6ivzpipkcyihsxzsii3qyx1f35n7wj5dsf99b3hkfm";
};
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 ];
};
}