3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/interpreters/rakudo/nqp.nix

30 lines
797 B
Nix
Raw Normal View History

{ stdenv, fetchurl, perl, lib, moarvm }:
stdenv.mkDerivation rec {
pname = "nqp";
2020-12-20 08:37:32 +00:00
version = "2020.12";
src = fetchurl {
2020-08-31 09:55:20 +01:00
url = "https://github.com/raku/nqp/releases/download/${version}/nqp-${version}.tar.gz";
2020-12-20 08:37:32 +00:00
sha256 = "13h64d41fwggc3lg4bpllg4jrp64clm7nmnw4g2jyjl47cy5ni7x";
};
buildInputs = [ perl ];
configureScript = "${perl}/bin/perl ./Configure.pl";
configureFlags = [
"--backends=moar"
"--with-moar=${moarvm}/bin/moar"
];
doCheck = true;
meta = with lib; {
description = "Not Quite Perl -- a lightweight Raku-like environment for virtual machines";
homepage = "https://github.com/perl6/nqp";
license = licenses.artistic2;
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice vrthra sgo ];
};
}