From 3787b7cba15cce88cc5fe7ee5431dff10c22cf66 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Sun, 28 Jan 2018 01:38:40 +0300 Subject: gnu: Add perl-number-range. * gnu/packages/perl.scm (perl-number-range): New public variable. --- gnu/packages/perl.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index bcc65f0d5e..07cbce2d73 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -6026,6 +6026,26 @@ (define-public perl-number-compare subroutine, which you can call with a value to be tested against.") (license (package-license perl)))) +(define-public perl-number-range + (package + (name "perl-number-range") + (version "0.12") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/L/LA/LARRYSH/Number-Range-" + version ".tar.gz")) + (sha256 + (base32 + "0999xvs3w2xprs14q4shqndjf2m6mzvhzdljgr61ddjaqhd84gj3")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Number-Range/") + (synopsis "Perl extension defining ranges of numbers") + (description "Number::Range is an object-oriented interface to test if a +number exists in a given range, and to be able to manipulate the range.") + (license (package-license perl)))) + (define-public perl-object-signature (package (name "perl-object-signature") -- cgit v1.2.3