Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
57 lines
1.1 KiB
Nix
57 lines
1.1 KiB
Nix
{
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
perl,
|
|
icu,
|
|
zlib,
|
|
gmp,
|
|
lib,
|
|
nqp,
|
|
removeReferencesTo,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rakudo";
|
|
version = "2025.06.1";
|
|
|
|
# nixpkgs-update: no auto update
|
|
src = fetchFromGitHub {
|
|
owner = "rakudo";
|
|
repo = "rakudo";
|
|
rev = version;
|
|
hash = "sha256-cofiX6VHHeki8GQcMamDyPYoVMUKiuhKVz8Gh8L9qu0=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [ removeReferencesTo ];
|
|
|
|
buildInputs = [
|
|
icu
|
|
zlib
|
|
gmp
|
|
perl
|
|
];
|
|
configureScript = "perl ./Configure.pl";
|
|
configureFlags = [
|
|
"--backends=moar"
|
|
"--with-nqp=${nqp}/bin/nqp"
|
|
];
|
|
|
|
disallowedReferences = [ stdenv.cc.cc ];
|
|
postFixup = ''
|
|
remove-references-to -t ${stdenv.cc.cc} "$(readlink -f $out/share/perl6/runtime/dynext/libperl6_ops_moar${stdenv.hostPlatform.extensions.sharedLibrary})"
|
|
'';
|
|
|
|
meta = {
|
|
description = "Raku implementation on top of Moar virtual machine";
|
|
homepage = "https://rakudo.org";
|
|
license = lib.licenses.artistic2;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [
|
|
thoughtpolice
|
|
sgo
|
|
prince213
|
|
];
|
|
};
|
|
}
|