[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/10: gnu: Add perl-sort-naturally.
From: |
Ricardo Wurmus |
Subject: |
04/10: gnu: Add perl-sort-naturally. |
Date: |
Tue, 24 Oct 2017 12:38:44 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 8ae0558aad343a033edd0222cb373ea772cb3b3f
Author: Petter <address@hidden>
Date: Tue Oct 24 18:23:26 2017 +0200
gnu: Add perl-sort-naturally.
* gnu/packages/perl.scm (perl-sort-naturally): New variable.
Signed-off-by: Ricardo Wurmus <address@hidden>
---
gnu/packages/perl.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 3c92b17..357deb3 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -6320,6 +6320,27 @@ compact.")
arrays by one or multiple calculated keys.")
(license (package-license perl))))
+(define-public perl-sort-naturally
+ (package
+ (name "perl-sort-naturally")
+ (version "1.03")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
"mirror://cpan/authors/id/B/BI/BINGOS/Sort-Naturally-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0ip7q5g8d3lr7ri3ffcbrpk1hzzsiwgsn14k10k7hnjphxf1raza"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/Sort-Naturally/")
+ (synopsis "Sort lexically, but sort numeral parts numerically")
+ (description "This module exports two functions, @code{nsort} and
address@hidden; they are used in implementing a \"natural sorting\" algorithm.
+Under natural sorting, numeric substrings are compared numerically, and other
+word-characters are compared lexically.")
+ (license (package-license perl))))
+
(define-public perl-specio
(package
(name "perl-specio")
- branch master updated (6ee4fd2 -> 22473f6), Ricardo Wurmus, 2017/10/24
- 02/10: gnu: Add perl-archive-extract., Ricardo Wurmus, 2017/10/24
- 06/10: gnu: Add perl-term-size-perl., Ricardo Wurmus, 2017/10/24
- 05/10: gnu: Add perl-devel-hide., Ricardo Wurmus, 2017/10/24
- 08/10: gnu: Add perl-test-taint., Ricardo Wurmus, 2017/10/24
- 04/10: gnu: Add perl-sort-naturally.,
Ricardo Wurmus <=
- 03/10: gnu: Add perl-proc-invokeeditor., Ricardo Wurmus, 2017/10/24
- 09/10: gnu: Add perl-type-tiny-xs., Ricardo Wurmus, 2017/10/24
- 07/10: gnu: Add perl-term-size-any., Ricardo Wurmus, 2017/10/24
- 10/10: gnu: Add perl-types-path-tiny., Ricardo Wurmus, 2017/10/24
- 01/10: gnu: Add perl-gnupg-interface., Ricardo Wurmus, 2017/10/24