guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

25/72: gnu: Add Number-Compare.


From: Eric Bavier
Subject: 25/72: gnu: Add Number-Compare.
Date: Fri, 06 Mar 2015 14:12:57 +0000

bavier pushed a commit to branch master
in repository guix.

commit f57c76863912d97af4102b2a8249aaf71446cb5f
Author: Eric Bavier <address@hidden>
Date:   Thu Mar 5 15:56:41 2015 -0600

    gnu: Add Number-Compare.
    
    * gnu/packages/perl.scm (perl-number-compare): New variable.
---
 gnu/packages/perl.scm |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index caa1292..c8480d8 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -485,6 +485,25 @@ cycle.  Functions called in the package itself will still 
be bound by their
 name, but they won't show up as methods on your class or instances.")
     (license (package-license perl))))
 
+(define-public perl-number-compare
+  (package
+    (name "perl-number-compare")
+    (version "0.03")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/R/RC/RCLAMP/"
+                           "Number-Compare-" version ".tar.gz"))
+       (sha256
+        (base32
+         "09q8i0mxvr7q9vajwlgawsi0hlpc119gnhq4hc933d03x0vkfac3"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Number-Compare";)
+    (synopsis "Numeric comparisons")
+    (description "Number::Compare compiles a simple comparison to an anonymous
+subroutine, which you can call with a value to be tested against.")
+    (license (package-license perl))))
+
 (define-public perl-package-anon
   (package
     (name "perl-package-anon")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]