From cbffb56cd40df8132724a88621f9bf500769e3e8 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 17 Jan 2019 12:06:39 +0100 Subject: gnu: Add perl-data-sexpression. * gnu/packages/perl.scm (perl-data-sexpression): New variable. --- gnu/packages/perl.scm | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 5cdb2ed1ea..c4d9d64de3 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -19,7 +19,7 @@ ;;; Copyright © 2017 Leo Famulari ;;; Copyright © 2017 Christopher Allan Webber ;;; Copyright © 2018 Oleg Pykhalov -;;; Copyright © 2018 Pierre Neidhardt +;;; Copyright © 2018, 2019 Pierre Neidhardt ;;; Copyright © 2018 Kei Kebreau ;;; ;;; This file is part of GNU Guix. @@ -9721,3 +9721,28 @@ lookup in %INC or by assuming it is $0 if the caller is @code{main} (description "Regexp::Pattern is a convention for organizing reusable regexp patterns in modules.") (license (package-license perl)))) + +(define-public perl-data-sexpression + (package + (name "perl-data-sexpression") + (version "0.41") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/N/NE/NELHAGE/Data-SExpression-" + version ".tar.gz")) + (sha256 + (base32 + "16qls1yqcmhxrcx9agsmaypxa1nirq4nvbyzbww9984589m44ql1")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-install" ,perl-module-install) + ("perl-test-deep" ,perl-test-deep))) + (propagated-inputs + `(("perl-class-accessor" ,perl-class-accessor))) + (home-page "https://metacpan.org/release/Data-SExpression") + (synopsis "Parse Lisp S-Expressions into Perl data structures") + (description "Data::SExpression parses Lisp S-Expressions into Perl data +structures.") + (license perl-license))) -- cgit 1.4.1