aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-03-24 18:10:36 +0000
committerChristopher Baines <mail@cbaines.net>2019-04-14 10:35:05 +0100
commit8d2a02fba6dd1d140db7391e92456fcd6c5d8e79 (patch)
treed4ed8c5731219e4b3e830d61756f03d445583849
parent16985939443c1ea6da6d1f777214518361bdab18 (diff)
downloadguix-8d2a02fba6dd1d140db7391e92456fcd6c5d8e79.tar
guix-8d2a02fba6dd1d140db7391e92456fcd6c5d8e79.tar.gz
gnu: Add perl-test-version.
* gnu/packages/perl-check.scm (perl-test-version): New variable.
-rw-r--r--gnu/packages/perl-check.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm
index 10583822f7..47e25083cd 100644
--- a/gnu/packages/perl-check.scm
+++ b/gnu/packages/perl-check.scm
@@ -1375,6 +1375,32 @@ check if a string is valid and not corrupt, whereas the characteristics tests
will check that string has a given set of characteristics.")
(license perl-license)))
+(define-public perl-test-version
+ (package
+ (name "perl-test-version")
+ (version "2.09")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/P/PL/PLICEASE/Test-Version-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1q1qradaf7r2rb3jhpv01wl8z3bxymkfqrl9gwdhxwx5jwldvqcw"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-exception" ,perl-test-exception)))
+ (propagated-inputs
+ `(("perl-file-find-rule-perl" ,perl-file-find-rule-perl)))
+ (home-page "https://metacpan.org/release/Test-Version")
+ (synopsis "Check versions in modules")
+ (description
+ "@code{Test::Version} checks to ensure that all modules have a version
+defined, and that the version is valid.")
+ (license artistic2.0)))
+
(define-public perl-test-warn
(package
(name "perl-test-warn")