guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#67963] [PATCH v2 06/37] gnu: Add perl-safe-hole.


From: Felix Lechner
Subject: [bug#67963] [PATCH v2 06/37] gnu: Add perl-safe-hole.
Date: Tue, 16 Jan 2024 14:12:44 -0800

* gnu/packages/perl.scm (perl-safe-hole): New variable.

Change-Id: Ifc635a7a7dfecc698b00a822c84aaf858b8abd52
---
 gnu/packages/perl.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index f5698ef824..3f21c7e495 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -9363,6 +9363,27 @@ (define-public perl-role-tiny-2
        (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 "Make a hole to the original main compartment in the Safe 
compartment")
+    (description "From the Safe compartment, one can call outside defined 
subroutines or
+methods through the object that is copied into the Safe compartment, but they 
too
+run in the Safe compartment.  Through Safe::Hole, we 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")
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]