summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-11 16:47:49 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-12 15:55:56 -0500
commit84c2c6d6339d8103db264dfcb790f0520abb7f2a (patch)
tree32815844b448a265cbec6ecc73af43b0dd46bc58 /gnu
parentfcf1043e565fa72fcec8a58c866d69994d1084ca (diff)
downloadguix-84c2c6d6339d8103db264dfcb790f0520abb7f2a.tar.gz
gnu: Add Data-Dump.
* gnu/packages/perl.scm (perl-data-dump): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 619d2edafb..07df78ce6b 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -414,6 +414,26 @@ opportunities to Perl developers as GNU Autoconf does for Shell developers.")
 CPAN::Meta object are present.")
     (license (package-license perl))))
 
+(define-public perl-data-dump
+  (package
+    (name "perl-data-dump")
+    (version "1.22")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
+                           "Data-Dump-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1ciqlwsy1q35s94dry9bjy1pwanbq6b7q4rhxm9z8prgkzbslg2k"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Data-Dump")
+    (synopsis "Pretty printing of data structures")
+    (description "This module provide functions that takes a list of values as
+their argument and produces a string as its result.  The string contains Perl
+code that, when \"eval\"ed, produces a deep copy of the original arguments.")
+    (license (package-license perl))))
+
 (define-public perl-data-optlist
   (package
     (name "perl-data-optlist")