aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-12 11:14:19 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-12 15:55:57 -0500
commit1c48820ed6d694ce2545b2ac68dcf252b35c27fe (patch)
treee250e826c008bfb4ec4ab05c76f4e36b9d7ae4a5 /gnu
parent89341090f0abe214f60784385f239252ea66534b (diff)
downloadguix-1c48820ed6d694ce2545b2ac68dcf252b35c27fe.tar
guix-1c48820ed6d694ce2545b2ac68dcf252b35c27fe.tar.gz
gnu: Add Cpanel-JSON-XS.
* gnu/packages/web.scm (perl-cpanel-json-xs): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/web.scm21
1 files changed, 21 insertions, 0 deletions
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")