guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/17: gnu: Add perl-cpan-distnameinfo.


From: guix-commits
Subject: 03/17: gnu: Add perl-cpan-distnameinfo.
Date: Sun, 14 Apr 2019 05:47:54 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 366b76c1cd173e0ce8dd2744b629cd0977c9d781
Author: Christopher Baines <address@hidden>
Date:   Sun Mar 24 18:03:50 2019 +0000

    gnu: Add perl-cpan-distnameinfo.
    
    * gnu/packages/perl.scm (perl-cpan-distnameinfo): New variable.
---
 gnu/packages/perl.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 62a9e2b..195cf65 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]