aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-03 14:48:04 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-04 00:46:04 -0500
commit0ca74e1d2563b9a2556be2fbb0a4b3839c31ea73 (patch)
treea43c6c3eb2d3b64fdb361a169ddf4c362107c67b
parent54268c43c9a6ed05dee75cf66e295268bd9d1fc0 (diff)
downloadpatches-0ca74e1d2563b9a2556be2fbb0a4b3839c31ea73.tar
patches-0ca74e1d2563b9a2556be2fbb0a4b3839c31ea73.tar.gz
gnu: Add Test-Base.
* gnu/packages/perl.scm (perl-test-base): New variable.
-rw-r--r--gnu/packages/perl.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 35481f86a3..2666c5219d 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -3602,6 +3602,32 @@ it can be used equally well for processing any other kind of text based
documents: HTML, XML, POD, PostScript, LaTeX, and so on.")
(license (package-license perl))))
+(define-public perl-test-base
+ (package
+ (name "perl-test-base")
+ (version "0.88")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/I/IN/INGY/"
+ "Test-Base-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0fch1cvivnszbnwhpfmwv1rin04j5xkj1n1ylfmlxg6bm72qqdjj"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-algorithm-diff" ,perl-algorithm-diff)
+ ("perl-text-diff" ,perl-text-diff)))
+ (propagated-inputs
+ `(("perl-spiffy" ,perl-spiffy)
+ ("perl-test-deep" ,perl-test-deep)))
+ (home-page "http://search.cpan.org/dist/Test-Base")
+ (synopsis "Data-driven testing framework for Perl")
+ (description "Test::Base gives a way to trivially write your own test
+framework base class. It concentrates on offering reusable data driven
+patterns, so that you can write tests with a minimum of code.")
+ (license (package-license perl))))
+
(define-public perl-test-cleannamespaces
(package
(name "perl-test-cleannamespaces")