gnu: Add perl-test-version.

* gnu/packages/perl-check.scm (perl-test-version): New variable.
This commit is contained in:
Christopher Baines 2019-03-24 18:10:36 +00:00
parent 709a9e9214
commit 3840c51555
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -1375,6 +1375,32 @@ (define-public perl-test-utf8
will check that string has a given set of characteristics.") will check that string has a given set of characteristics.")
(license perl-license))) (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 (define-public perl-test-warn
(package (package
(name "perl-test-warn") (name "perl-test-warn")