nixpkgs/pkgs/development/interpreters/rakudo/nqp.nix
Stig Palmquist 880695f4c5
rakudo: 2020.05.1 -> 2020.06
dependencies:
nqp: 2020.05 -> 2020.06
moarvm: 2020.05 -> 2020.06
2020-06-23 14:16:23 +02:00

30 lines
805 B
Nix

{ stdenv, fetchurl, perl, lib, moarvm }:
stdenv.mkDerivation rec {
pname = "nqp";
version = "2020.06";
src = fetchurl {
url = "https://github.com/perl6/nqp/releases/download/${version}/nqp-${version}.tar.gz";
sha256 = "13wkhdxxs86wl6ahfzhyp45dy6hk6qnij3dm8d8893b2rxs377m4";
};
buildInputs = [ perl ];
configureScript = "${perl}/bin/perl ./Configure.pl";
configureFlags = [
"--backends=moar"
"--with-moar=${moarvm}/bin/moar"
];
doCheck = true;
meta = with stdenv.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 ];
};
}