summaryrefslogtreecommitdiff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorAlex Sassmannshausen <alex@pompo.co>2016-07-02 20:34:54 +0200
committerLudovic Courtès <ludo@gnu.org>2016-07-05 11:12:35 +0200
commit5082eac9579f6b8abd11fd53383c54e81d32729d (patch)
tree1e4272c965023221301f2b7b6961dee4cedf6033 /gnu/packages/perl.scm
parent8bcafb7440f0ba867c5d7549f9514221ec413e0e (diff)
downloadgnu-guix-5082eac9579f6b8abd11fd53383c54e81d32729d.tar
gnu-guix-5082eac9579f6b8abd11fd53383c54e81d32729d.tar.gz
gnu: Add perl-list-someutils.
* gnu/packages/perl.scm (perl-list-someutils): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index f169a13f17..c171af482a 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -3059,6 +3059,39 @@ intersections, unions, unique elements, complements and many more.")
functionality on lists which is not going to go into List::Util.")
(license (package-license perl))))
+(define-public perl-list-someutils
+ (package
+ (name "perl-list-someutils")
+ (version "0.52")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/D/DR/DROLSKY/List-SomeUtils-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1b450jyxaa6q2yl0cdhknr3c2a5s7b9b18ccnwac625c681r130y"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-leaktrace" ,perl-test-leaktrace)))
+ (inputs
+ `(("perl-exporter-tiny" ,perl-exporter-tiny)
+ ("perl-module-implementation"
+ ,perl-module-implementation)))
+ (home-page "http://search.cpan.org/dist/List-SomeUtils")
+ (synopsis "Provide the stuff missing in List::Util")
+ (description "@code{List::SomeUtils} provides some trivial but commonly
+needed functionality on lists which is not going to go into @code{List::Util}.
+
+All of the below functions are implementable in only a couple of lines of Perl
+code. Using the functions from this module however should give slightly
+better performance as everything is implemented in C. The pure-Perl
+implementation of these functions only serves as a fallback in case the C
+portions of this module couldn't be compiled on this machine.")
+ (license (package-license perl))))
+
(define-public perl-memoize-expirelru
(package
(name "perl-memoize-expirelru")