guix-commits
[Top][All Lists]
Advanced

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

03/04: gnu: Add perl-want.


From: guix-commits
Subject: 03/04: gnu: Add perl-want.
Date: Fri, 19 Feb 2021 12:05:34 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 0d9c9502694984a800be9df3bf6ed518c3ce2aca
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Feb 19 18:04:03 2021 +0100

    gnu: Add perl-want.
    
    * gnu/packages/perl.scm (perl-want): New variable.
---
 gnu/packages/perl.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index e279562..ca75486 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -8892,6 +8892,26 @@ straightforward and (perhaps someday) standard way.  
Spiffy borrows ideas from
 other OO languages like Python, Ruby, Java and Perl 6.")
     (license (package-license perl))))
 
+(define-public perl-want
+  (package
+    (name "perl-want")
+    (version "0.29")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/R/RO/ROBIN/Want-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "1xsjylbxxcbkjazqms49ipi94j1hd2ykdikk29cq7dscil5p9r5l"))))
+    (build-system perl-build-system)
+    (home-page "https://metacpan.org/release/Want";)
+    (synopsis "Generalization of wantarray")
+    (description "This module generalises the mechanism of the
+@code{wantarray} function, allowing a function to determine in some detail how
+its return value is going to be immediately used.")
+    (license license:perl-license)))
+
 (define-public perl-statistics-basic
   (package
     (name "perl-statistics-basic")



reply via email to

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