9 stdenv.mkDerivation rec {
13 # nixpkgs-update: no auto update
14 src = fetchFromGitHub {
18 hash = "sha256-45L3fEL8jIk9bkKpuhrsLM014zNW1P7Kf6qVXxJjWws=";
19 fetchSubmodules = true;
22 buildInputs = [ perl ];
24 configureScript = "${perl}/bin/perl ./Configure.pl";
26 # Fix for issue where nqp expects to find files from moarvm in the same output:
27 # https://github.com/Raku/nqp/commit/e6e069507de135cc71f77524455fc6b03b765b2f
30 share_dir="share/nqp/lib/MAST"
31 mkdir -p $out/$share_dir
32 ln -fs ${moarvm}/$share_dir/{Nodes,Ops}.nqp $out/$share_dir
37 "--with-moar=${moarvm}/bin/moar"
43 description = "Not Quite Perl -- a lightweight Raku-like environment for virtual machines";
44 homepage = "https://github.com/Raku/nqp";
45 license = licenses.artistic2;
46 platforms = platforms.unix;
47 maintainers = with maintainers; [