gnu: Add perl-cpan-distnameinfo.

* gnu/packages/perl.scm (perl-cpan-distnameinfo): New variable.
This commit is contained in:
Christopher Baines 2019-03-24 18:03:50 +00:00
parent ef9902d37e
commit 366b76c1cd
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 22 additions and 0 deletions

View File

@ -1557,6 +1557,28 @@ data.")
@file{Changes} files that conform to a common specification.") @file{Changes} files that conform to a common specification.")
(license perl-license))) (license perl-license)))
(define-public perl-cpan-distnameinfo
(package
(name "perl-cpan-distnameinfo")
(version "0.12")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/G/GB/GBARR/CPAN-DistnameInfo-"
version
".tar.gz"))
(sha256
(base32
"0d94kx596w7k328cvq4y96z1gz12hdhn3z1mklkbrb7fyzlzn91g"))))
(build-system perl-build-system)
(home-page "https://metacpan.org/release/CPAN-DistnameInfo")
(synopsis "Extract the name and version from a distribution filename")
(description
"@code{CPAN::DistnameInfo} uses heuristics to extract the distribution
name and version from filenames.")
(license perl-license)))
(define-public perl-cpan-meta-check (define-public perl-cpan-meta-check
(package (package
(name "perl-cpan-meta-check") (name "perl-cpan-meta-check")