From 7cff75e7c00ea1e23bbcdd9c853e2ba8d04416e2 Mon Sep 17 00:00:00 2001 From: Antero Mejr Date: Sun, 4 Jun 2023 17:42:25 +0000 Subject: [PATCH] gnu: Add perl-safe-hole. * gnu/packages/perl.scm (perl-safe-hole): New variable. Signed-off-by: Danny Milosavljevic --- gnu/packages/perl.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index b473b742ef..2d6dfdab4a 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -9965,6 +9965,27 @@ and @code{deserialize_regexp}.") (sha256 (base32 "11qn516352yhi794www3ykwa9xv2gxpfnhn9jcn10x0ahl95gflj")))))) +(define-public perl-safe-hole + (package + (name "perl-safe-hole") + (version "0.14") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/T/TO/TODDR/Safe-Hole-" version + ".tar.gz")) + (sha256 + (base32 + "01gc2lfli282dj6a2pkpxb0vmpyavs323cbdw15gxi06pn5nxxgl")))) + (build-system perl-build-system) + (native-inputs (list perl-module-build)) + (home-page "https://metacpan.org/release/Safe-Hole") + (synopsis "Use main compartment subroutines from the Safe compartment") + (description + "@code{Safe::Hole} can execute outside defined subroutines in the +original main compartment from the Safe compartment.") + (license license:perl-license))) + (define-public perl-safe-isa (package (name "perl-safe-isa")