From 1c48820ed6d694ce2545b2ac68dcf252b35c27fe Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 12 Mar 2015 11:14:19 -0500 Subject: gnu: Add Cpanel-JSON-XS. * gnu/packages/web.scm (perl-cpanel-json-xs): New variable. --- gnu/packages/web.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 6ef92dc65f..736b2157b4 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -566,6 +566,27 @@ parameter parsing, file upload, cookie handling and header generation.") inputs, in a manner reminiscent of how PHP does.") (license l:bsd-2))) +(define-public perl-cpanel-json-xs + (package + (name "perl-cpanel-json-xs") + (version "3.0114") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/R/RU/RURBAN/" + "Cpanel-JSON-XS-" version ".tar.gz")) + (sha256 + (base32 + "0jhi1v0631x4d14a7cpfnpjqhs34zkygxjn1nwvvr927awx5jx71")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-common-sense" ,perl-common-sense))) + (home-page "http://search.cpan.org/dist/Cpanel-JSON-XS") + (synopsis "JSON::XS for Cpanel") + (description "This module converts Perl data structures to JSON and vice +versa.") + (license (package-license perl)))) + (define-public perl-encode-locale (package (name "perl-encode-locale") -- cgit 1.4.1