aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2016-12-09 21:28:46 +0100
committerMarius Bakke <mbakke@fastmail.com>2017-03-02 18:39:15 +0100
commit25c3cf3edb42eddc7fd8071fceba36cbf3656756 (patch)
treedf46f133f6855096dae1fcce91dda1caadec27f3 /gnu/packages
parentd66fa69618d476362d39b893facf90bc81c8f241 (diff)
downloadpatches-25c3cf3edb42eddc7fd8071fceba36cbf3656756.tar
patches-25c3cf3edb42eddc7fd8071fceba36cbf3656756.tar.gz
gnu: Add perl-test-number-delta.
* gnu/packages/perl.scm (perl-test-number-delta): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/perl.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 2321a0536e..29c6b07b95 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -6615,6 +6615,29 @@ including a stack trace of what was going on when it occurred.")
"Test-NoWarnings-" version))
(license lgpl2.1)))
+(define-public perl-test-number-delta
+ (package
+ (name "perl-test-number-delta")
+ (version "1.06")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
+ "Test-Number-Delta-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0jfhzhpzkc23mkrlbnv085ykpfncmy99hvppbzjnrpvgks8k0m2k"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/Test-Number-Delta")
+ (synopsis
+ "Compare the difference between numbers against a given tolerance")
+ (description
+ "At some point or another, most programmers find they need to compare
+floating-point numbers for equality. The typical idiom is to test if the
+absolute value of the difference of the numbers is within a desired tolerance,
+usually called epsilon. This module provides such a function for use with
+@code{Test::More}.")
+ (license asl2.0)))
+
(define-public perl-test-output
(package
(name "perl-test-output")