aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-10-24 16:15:28 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2025-02-23 21:29:12 +0100
commit7adb78c1a866e4050692b1e4e64171d7c4a45f9b (patch)
tree1717f15fedad2f0ff747a907b4fe0bd59c887640
parent249cb495ca19159a86d21470d86be0e6e6e3ecc7 (diff)
downloadguix-7adb78c1a866e4050692b1e4e64171d7c4a45f9b.tar.gz
guix-7adb78c1a866e4050692b1e4e64171d7c4a45f9b.zip
gnu: Add perl-array-intspan.
* gnu/packages/perl.scm (perl-array-intspan): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/perl.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 255e49e0a3..e73aae28fc 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -639,6 +639,27 @@ replacement for @command{xmlto}.")
configuration files and parsing command line arguments.")
(license (package-license perl))))
+(define-public perl-array-intspan
+ (package
+ (name "perl-array-intspan")
+ (version "2.004")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/D/DD/DDUMONT/Array-IntSpan-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "168crsh363lgh2s127hnrbda37wvcq36xpcv59mywm89rspigkad"))))
+ (build-system perl-build-system)
+ (home-page "https://metacpan.org/release/Array-IntSpan")
+ (synopsis "Handle arrays of scalars or objects using integer ranges")
+ (description "This module brings the speed advantages of
+@code{Set::IntSpan} (written by Steven McDougall) to arrays. Uses include
+manipulating grades, routing tables, or any other situation where you have
+mutually exclusive ranges of integers that map to given values.")
+ (license license:artistic2.0)))
+
(define-public perl-array-utils
(package
(name "perl-array-utils")