summary refs log tree commit diff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-05 15:02:46 -0600
committerEric Bavier <bavier@member.fsf.org>2015-03-06 08:13:26 -0600
commit6f2768c3f085b2e3304605f79b4194478fbba733 (patch)
tree839409638ffd9ef7719922fc9e5b108e76a6e6ce /gnu/packages/perl.scm
parent90fb2e2467ade0f6d0d27541b94bb69c1312fd48 (diff)
downloadguix-6f2768c3f085b2e3304605f79b4194478fbba733.tar.gz
gnu: Add CPAN-Meta-YAML.
* gnu/packages/perl.scm (perl-cpan-meta-yaml): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index b4804e8676..01e88ca15f 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -645,5 +645,26 @@ adding more and more constraints, and will reduce them to the simplest
 representation.")
     (license (package-license perl))))
 
+(define-public perl-cpan-meta-yaml
+  (package
+    (name "perl-cpan-meta-yaml")
+    (version "0.012")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
+                           "CPAN-Meta-YAML-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0a0d62w8d81kkas4j1h48znk0f0vrpibl31gvz9r8hm77dbqqwkw"))))
+    (build-system perl-build-system)
+    (arguments
+     `(#:tests? #f))                    ;Tests require Test::More >= 0.99
+    (home-page "http://search.cpan.org/dist/CPAN-Meta-YAML")
+    (synopsis "Read and write a subset of YAML for CPAN Meta files")
+    (description "This module implements a subset of the YAML specification
+for use in reading and writing CPAN metadata files like META.yml and
+MYMETA.yml.")
+    (license (package-license perl))))
 
 ;;; END: Core module overrides