summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2017-08-21 11:38:44 +0100
committerChristopher Baines <mail@cbaines.net>2017-09-13 18:19:29 +0100
commitd5b50202d7b585da098094d06fed57b31044b171 (patch)
tree05de314170e85c695da67cadc4a8df51e9bf07e0
parent19d81cf7dc38233600b4664687e24027f4d1c6e4 (diff)
downloadguix-d5b50202d7b585da098094d06fed57b31044b171.tar.gz
gnu: Add perl-test-cpan-meta.
* gnu/packages/perl.scm (perl-test-cpan-meta): New variable.
-rw-r--r--gnu/packages/perl.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 9cdddc1db2..c8fe816a00 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -7056,6 +7056,33 @@ namespace::autoclean or namespace::clean and are therefore available to be
 called as methods, which usually isn't want you want.")
     (license (package-license perl))))
 
+(define-public perl-test-cpan-meta
+  (package
+    (name "perl-test-cpan-meta")
+    (version "0.25")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/B/BA/BARBIE/Test-CPAN-Meta-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1dcdbbdwdyhpldkhjzc9rvzlmb5jbil6fwh2x07nsfdwysf4ynzm"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-cpan-meta-json" ,perl-test-cpan-meta-json)
+       ("perl-test-pod" ,perl-test-pod)
+       ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
+    (home-page
+     "http://search.cpan.org/dist/Test-CPAN-Meta")
+    (synopsis "Validate your CPAN META.yml files")
+    (description
+     "This module was written to ensure that a META.yml file meets the
+specification.")
+    (license artistic2.0)))
+
 (define-public perl-test-cpan-meta-json
   (package
     (name "perl-test-cpan-meta-json")