summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2019-01-17 12:06:39 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2019-01-17 12:20:54 +0100
commitcbffb56cd40df8132724a88621f9bf500769e3e8 (patch)
treea818a40a25a78f1fa330eea7b860dc4bc24261f8 /gnu
parent73b2ce87956b0d9168dcfa234128b91e0e41a4c7 (diff)
downloadpatches-cbffb56cd40df8132724a88621f9bf500769e3e8.tar
patches-cbffb56cd40df8132724a88621f9bf500769e3e8.tar.gz
gnu: Add perl-data-sexpression.
* gnu/packages/perl.scm (perl-data-sexpression): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm27
1 files changed, 26 insertions, 1 deletions
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 <leo@famulari.name>
;;; Copyright © 2017 Christopher Allan Webber <cwebber@dustycloud.org>
;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
-;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
+;;; Copyright © 2018, 2019 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
;;;
;;; 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)))