summary refs log tree commit diff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2016-11-23 22:09:03 +0100
committerRicardo Wurmus <rekado@elephly.net>2016-11-27 09:48:42 +0100
commit0ef5191c8800fbcaef71ecea53708ba57c6efe7b (patch)
tree2d6fc4f400fe2518fcc243a22387134c4a5096dd /gnu/packages/perl.scm
parent3521dc929348fb4cf3d17cc2a8891e66963b981b (diff)
downloadguix-0ef5191c8800fbcaef71ecea53708ba57c6efe7b.tar.gz
gnu: Add perl-sort-key.
* gnu/packages/perl.scm (perl-sort-key): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 03d3c4310d..427705b132 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -5405,6 +5405,25 @@ designed to be slow or big, neither has it been designed to be fast or
 compact.")
     (license (package-license perl))))
 
+(define-public perl-sort-key
+  (package
+    (name "perl-sort-key")
+    (version "1.33")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/S/SA/SALVA/Sort-Key-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "1kqs10s2plj6c96srk0j8d7xj8dxk1704r7mck8rqk09mg7lqspd"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Sort-Key")
+    (synopsis "Sort arrays by one or multiple calculated keys")
+    (description "This Perl module provides various functions to quickly sort
+arrays by one or multiple calculated keys.")
+    (license (package-license perl))))
+
 (define-public perl-spiffy
   (package
     (name "perl-spiffy")