From 1699b2d969806e7388ab5a00354b7938a7887757 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Fri, 20 Mar 2015 13:46:48 -0500 Subject: gnu: Add JSON-XS. * gnu/packages/perl.scm (perl-json-xs): New variable. --- gnu/packages/perl.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 877900b996..742a123854 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1874,6 +1874,28 @@ (define-public perl-ipc-sharelite allowing data to be efficiently communicated between processes.") (license (package-license perl)))) +(define-public perl-json-xs + (package + (name "perl-json-xs") + (version "3.01") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/M/ML/MLEHMANN/" + "JSON-XS-" version ".tar.gz")) + (sha256 + (base32 + "1aviik480m61ykwvyix83grywzbk828wvfz19hqfvaasd8jz73af")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-common-sense" ,perl-common-sense) + ("perl-types-serialiser" ,perl-types-serialiser))) + (home-page "http://search.cpan.org/dist/JSON-XS") + (synopsis "JSON serialising/deserialising for Perl") + (description "This module converts Perl data structures to JSON and vice +versa.") + (license (package-license perl)))) + (define-public perl-list-moreutils (package (name "perl-list-moreutils") -- cgit v1.2.3