From e31f3cd57cd650c01a0c0a6db0d0a4e87879e9e9 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 4 Mar 2019 21:58:45 +0100 Subject: gnu: Add perl-data-dumper. * gnu/packages/perl.scm (perl-data-dumper): New variable. --- gnu/packages/perl.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 7a2bcfc960..fb975d92a0 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1751,6 +1751,27 @@ (define-public perl-data-dump code that, when \"eval\"ed, produces a deep copy of the original arguments.") (license (package-license perl)))) +(define-public perl-data-dumper + (package + (name "perl-data-dumper") + (version "2.173") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/X/XS/XSAWYERX/" + "Data-Dumper-" version ".tar.gz")) + (sha256 + (base32 + "1yknbp86md6mjlhbs1lzz6mals3iyizndgiij58qx61hjfrhhxk9")))) + (build-system perl-build-system) + (home-page "https://metacpan.org/release/Data-Dumper") + (synopsis "Convert data structures to strings") + (description "Given a list of scalars or reference variables, +@code{Data::Dumper} writes out their contents in Perl syntax. The references +can also be objects. The content of each variable is output in a single Perl +statement. It handles self-referential structures correctly.") + (license perl-license))) + (define-public perl-data-dumper-concise (package (name "perl-data-dumper-concise") -- cgit v1.2.3 From 5bb674a0cdb1e2d9bb85cfb87ccd4f683ce820ce Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 6 Mar 2019 15:05:38 +0100 Subject: gnu: perl-czplib: Fix installation directory. * gnu/packages/perl.scm (perl-czplib)[arguments]: Fix installation directory. --- gnu/packages/perl.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index fb975d92a0..978062d262 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1647,9 +1647,8 @@ (define-public perl-czplib (lambda* (#:key outputs #:allow-other-keys) (copy-recursively "." (string-append (assoc-ref outputs "out") - "/plib/perl5/site_perl/" - ,(package-version perl) - "/czplib/")) + "/lib/perl5/site_perl/" + ,(package-version perl))) #t))))) (home-page "https://sourceforge.net/projects/czplib/") (synopsis "Library for genomic analysis") -- cgit v1.2.3