guix-patches
[Top][All Lists]
Advanced

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

[bug#63894] [PATCH 23/55] gnu: Add perl-function-parameters.


From: Antero Mejr
Subject: [bug#63894] [PATCH 23/55] gnu: Add perl-function-parameters.
Date: Sun, 4 Jun 2023 17:42:17 +0000

* gnu/packages/perl.scm (perl-function-parameters): New variable.
---
 gnu/packages/perl.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 23f0ca4d2d..42566ce724 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -5505,6 +5505,29 @@ (define-public perl-filesys-notify-simple
 back to a full directory scan if none of these are available.")
     (license license:perl-license)))
 
+(define-public perl-function-parameters
+  (package
+    (name "perl-function-parameters")
+    (version "2.002003")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/M/MA/MAUKE/Function-Parameters-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "0ba317h659jrvnqf816ygyh656j8n524985na42irhzbx0qkqlak"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-test-fatal))
+    (home-page "https://metacpan.org/release/Function-Parameters";)
+    (synopsis
+     "Define functions and methods with parameter lists")
+    (description
+     "This module provides two new keywords, @code{fun} and @code{method}, for
+defining functions and methods with parameter lists. At minimum this saves you
+from having to unpack @code{@@_} manually, but this module can do much more.")
+    (license license:perl-license)))
+
 (define-public perl-getopt-argvfile
   (package
     (name "perl-getopt-argvfile")
-- 
2.39.2






reply via email to

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