aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-03-24 18:03:50 +0000
committerChristopher Baines <mail@cbaines.net>2019-04-14 10:45:57 +0100
commit366b76c1cd173e0ce8dd2744b629cd0977c9d781 (patch)
tree2e3296d1607fa92137fa4a9d0c428dd8ece3f438 /gnu
parentef9902d37e7700d6790d2e99039b0ea2f0b8a22d (diff)
downloadpatches-366b76c1cd173e0ce8dd2744b629cd0977c9d781.tar
patches-366b76c1cd173e0ce8dd2744b629cd0977c9d781.tar.gz
gnu: Add perl-cpan-distnameinfo.
* gnu/packages/perl.scm (perl-cpan-distnameinfo): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 62a9e2b422..195cf6592c 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1557,6 +1557,28 @@ data.")
@file{Changes} files that conform to a common specification.")
(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
(package
(name "perl-cpan-meta-check")