summary refs log tree commit diff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorAlex Sassmannshausen <alex@pompo.co>2016-07-02 20:34:53 +0200
committerLudovic Courtès <ludo@gnu.org>2016-07-05 11:12:22 +0200
commit8bcafb7440f0ba867c5d7549f9514221ec413e0e (patch)
tree93054f159acfe30ae74049ffb989fa7e7190ba6c /gnu/packages/perl.scm
parent056575421e6714bb6d6276e025018fe7c84d5c73 (diff)
downloadguix-8bcafb7440f0ba867c5d7549f9514221ec413e0e.tar.gz
gnu: Add perl-list-compare.
* gnu/packages/perl.scm (perl-list-compare): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 8a39ba8cf0..f169a13f17 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -3010,6 +3010,30 @@ one: logging, exceptions, and translations.")
 List::Util or List::MoreUtils defines, with preference to List::Util.")
     (license (package-license perl))))
 
+(define-public perl-list-compare
+  (package
+    (name "perl-list-compare")
+    (version "0.53")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/J/JK/JKEENAN/List-Compare-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0l451yqhx1hlm7f2c3bjsl3n8w6l1jngrxzyfm2d8d9iggv4zgzx"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-io-captureoutput" ,perl-io-captureoutput)))
+    (home-page "http://search.cpan.org/dist/List-Compare")
+    (synopsis "Compare elements of two or more lists")
+    (description "@code{List::Compare} provides a module to perform
+comparative operations on two or more lists.  Provided operations include
+intersections, unions, unique elements, complements and many more.")
+    (license (package-license perl))))
+
 (define-public perl-list-moreutils
   (package
     (name "perl-list-moreutils")