From d632c0e9814397efee4921c72233937e6c7fbcb8 Mon Sep 17 00:00:00 2001 From: Yuriy Taraday Date: Mon, 10 Aug 2026 16:40:02 +0200 Subject: [PATCH] perlPackages.HashSharedMem: 0.005 -> 0.006 Adapt to these changes: * Allow building on Mac OS * Move from Module::Build to ExtUtils::MakeMaker * Change authorship to Kurt Starsinic (cherry picked from commit eb9041526d7e81bac2c16a8d0509b44b7daa4238) --- pkgs/top-level/perl-packages.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 52a0619a0c00..bd07d4b2df97 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -15865,20 +15865,23 @@ with self; HashSharedMem = buildPerlModule { pname = "Hash-SharedMem"; - version = "0.005"; + version = "0.006"; src = fetchurl { - url = "mirror://cpan/authors/id/Z/ZE/ZEFRAM/Hash-SharedMem-0.005.tar.gz"; - hash = "sha256-Mkd2gIYC973EStqpN4lTZUVAKakm+mEfMhyb9rlAu14="; + url = "mirror://cpan/authors/id/K/KS/KSTAR/Hash-SharedMem-0.006.tar.gz"; + hash = "sha256-6gA2LUokkXUFYvJFHK61l0eDXZxWcthGPNlhwz7jh2E="; }; env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isAarch64 "-mno-outline-atomics"; buildInputs = [ ScalarString ]; + # Project uses ExtUtils::MakeMaker, can use default `make` targets + buildPhase = null; + checkPhase = null; + installPhase = null; meta = { description = "Efficient shared mutable hash"; license = with lib.licenses; [ artistic1 gpl1Plus ]; - broken = stdenv.hostPlatform.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/staging-next/perl534Packages.HashSharedMem.x86_64-darwin }; };