[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/40: gnu: Add JSON-MaybeXS.
From: |
Eric Bavier |
Subject: |
15/40: gnu: Add JSON-MaybeXS. |
Date: |
Thu, 12 Mar 2015 20:56:00 +0000 |
bavier pushed a commit to branch master
in repository guix.
commit 11f4c54206793a79d0969af1d22d6f0f898748c1
Author: Eric Bavier <address@hidden>
Date: Thu Mar 12 11:21:28 2015 -0500
gnu: Add JSON-MaybeXS.
* gnu/packages/web.scm (perl-json-maybexs): New variable.
---
gnu/packages/web.scm | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 736b215..255b7f1 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -957,6 +957,31 @@ select or poll.")
(license (package-license perl))
(home-page "https://github.com/noxxi/p5-io-socket-ssl")))
+(define-public perl-json-maybexs
+ (package
+ (name "perl-json-maybexs")
+ (version "1.003003")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
+ "JSON-MaybeXS-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0q21wzz87drrvblxcm2py8fcvkzwx1hxzfybynz8ln7wv66vbx3f"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-without-module" ,perl-test-without-module)))
+ (inputs
+ `(("perl-cpanel-json-xs" ,perl-cpanel-json-xs)))
+ (home-page "http://search.cpan.org/dist/JSON-MaybeXS")
+ (synopsis "Cpanel::JSON::XS with fallback")
+ (description "This module first checks to see if either Cpanel::JSON::XS
+or JSON::XS is already loaded, in which case it uses that module. Otherwise
+it tries to load Cpanel::JSON::XS, then JSON::XS, then JSON::PP in order, and
+either uses the first module it finds or throws an error.")
+ (license (package-license perl))))
+
(define-public perl-libwww
(package
(name "perl-libwww")
- 03/40: gnu: Add IO-stringy., (continued)
- 03/40: gnu: Add IO-stringy., Eric Bavier, 2015/03/12
- 04/40: gnu: Add CGI-Simple., Eric Bavier, 2015/03/12
- 05/40: gnu: Add CGI-Struct., Eric Bavier, 2015/03/12
- 07/40: gnu: Add Class-Date., Eric Bavier, 2015/03/12
- 06/40: gnu: Add Class-C3-Adopt-NEXT., Eric Bavier, 2015/03/12
- 08/40: gnu: Add Data-Dump., Eric Bavier, 2015/03/12
- 09/40: gnu: Add base., Eric Bavier, 2015/03/12
- 11/40: gnu: Add HTTP-Request-AsCGI., Eric Bavier, 2015/03/12
- 12/40: gnu: Add common-sense., Eric Bavier, 2015/03/12
- 13/40: gnu: Add Cpanel-JSON-XS., Eric Bavier, 2015/03/12
- 15/40: gnu: Add JSON-MaybeXS.,
Eric Bavier <=
- 17/40: gnu: Add Test-Trap., Eric Bavier, 2015/03/12
- 19/40: gnu: Add Getopt-Long-Descriptive., Eric Bavier, 2015/03/12
- 18/40: gnu: Add Params-Validate., Eric Bavier, 2015/03/12
- 20/40: gnu: Add aliased., Eric Bavier, 2015/03/12
- 21/40: gnu: Add namespace-autoclean., Eric Bavier, 2015/03/12
- 14/40: gnu: Add Test-Without-Module., Eric Bavier, 2015/03/12
- 10/40: gnu: Add Class-Accessor., Eric Bavier, 2015/03/12
- 22/40: gnu: Add MooseX-Role-WithOverloading., Eric Bavier, 2015/03/12
- 23/40: gnu: Add MooseX-Role-Parameterized., Eric Bavier, 2015/03/12
- 16/40: gnu: Add MooseX-Emulate-Class-Accessor-Fast., Eric Bavier, 2015/03/12