ngz pushed a commit to branch master
in repository guix.

commit 7289815556093387ecff83a3427595428dbad8a8
Author: Bruno Victal <[email protected]>
AuthorDate: Sun Feb 23 19:52:24 2025 +0100

    gnu: Add perl-feature-compat-try.
    
    * gnu/packages/perl.scm (perl-feature-compat-try): New variable.
    
    Change-Id: I2984a070cca6196bed4e780c08c460eca82b6222
    Signed-off-by: Nicolas Goaziou <[email protected]>
---
 gnu/packages/perl.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 8a1961f06a..d6be2be0b5 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -5110,6 +5110,27 @@ others (@code{method}, @code{field} and @code{ADJUST}) 
in a forward-compatible
 way.")
     (license (package-license perl))))
 
+(define-public perl-feature-compat-try
+  (package
+    (name "perl-feature-compat-try")
+    (version "0.05")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/P/PE/PEVANS/Feature-Compat-Try-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "0z3df58bamp1zx996mwvxy75h67p80wgl4sz3h9xnc5c7hbwg8ar"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-module-build))
+    (propagated-inputs (list perl-syntax-keyword-try))
+    (home-page "https://metacpan.org/release/Feature-Compat-Try";)
+    (synopsis "@code{try/catch} syntax in Perl")
+    (description "This module provides syntactical support for
+@code{try/catch} control flows.")
+    (license (package-license perl))))
+
 (define-public perl-file-changenotify
   (package
     (name "perl-file-changenotify")

Reply via email to