From 6485d94992ca3edb45923e1f910eb64b0d1ab2cb Mon Sep 17 00:00:00 2001 From: Pavel Borzenkov Date: Tue, 26 Apr 2022 15:02:41 +0200 Subject: [PATCH 1/2] perlPackages.LexicalSealRequireHints: init at 0.0011 --- pkgs/top-level/perl-packages.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index fb81f95cac5f..eff7af51985e 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -11851,6 +11851,19 @@ let }; }; + LexicalSealRequireHints = buildPerlModule { + pname = "Lexical-SealRequireHints"; + version = "0.0011"; + src = fetchurl { + url = "mirror://cpan/authors/id/Z/ZE/ZEFRAM/Lexical-SealRequireHints-0.011.tar.gz"; + sha256 = "sha256-npGO0RjvaF1uCdqxzW5m7gox13b+JLumPlJDkG9WATo="; + }; + meta = { + description = "Prevent leakage of lexical hints"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + libapreq2 = buildPerlPackage { pname = "libapreq2"; version = "2.16"; From 54765710b2e351446aa269c590aeca3d17f11ca6 Mon Sep 17 00:00:00 2001 From: Pavel Borzenkov Date: Tue, 26 Apr 2022 15:03:03 +0200 Subject: [PATCH 2/2] perlPackages.SubStrictDecl: init at 0.005 --- pkgs/top-level/perl-packages.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index eff7af51985e..05267431cb56 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -20572,6 +20572,21 @@ let }; }; + SubStrictDecl = buildPerlModule { + pname = "Sub-StrictDecl"; + version = "0.005"; + src = fetchurl { + url = "mirror://cpan/authors/id/Z/ZE/ZEFRAM/Sub-StrictDecl-0.005.tar.gz"; + sha256 = "sha256-oSfa52RcGpVwzZopcMbcST1SL/BzGKNKOeQJCY9pESU="; + }; + propagatedBuildInputs = [ LexicalSealRequireHints ]; + perlPreHook = lib.optionalString stdenv.isDarwin "export LD=$CC"; + meta = { + description = "Detect undeclared subroutines in compilation"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + SubUplevel = buildPerlPackage { pname = "Sub-Uplevel"; version = "0.2800";