mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 19:15:39 +00:00
e66cbc5f65
dependencies: - moarvm: init at 2020.01.1 - nqp: init at 2020.01 - zef: init 0.8.2 Replaced the rakudo-star distribution with packages for raku, moarvm, nqp and zef.
30 lines
805 B
Nix
30 lines
805 B
Nix
{ stdenv, fetchurl, perl, lib, moarvm }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "nqp";
|
|
version = "2020.01";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/perl6/nqp/releases/download/${version}/nqp-${version}.tar.gz";
|
|
sha256 = "0nwn6a9i9akw1zmywhkn631gqy8l4dvy50d6id63zir28ccrrk2c";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|