guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

82/82: gnu: Add JSON-Any.


From: Eric Bavier
Subject: 82/82: gnu: Add JSON-Any.
Date: Mon, 20 Apr 2015 01:02:55 +0000

bavier pushed a commit to branch master
in repository guix.

commit 97b05abe6d85d5b3db89fe0c353d1ee901e4235e
Author: Eric Bavier <address@hidden>
Date:   Sun Apr 19 09:38:45 2015 -0500

    gnu: Add JSON-Any.
    
    * gnu/packages/perl.scm (perl-json-any): New variable.
---
 gnu/packages/perl.scm |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 26c193f..723b6d2 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2563,6 +2563,35 @@ allowing data to be efficiently communicated between 
processes.")
 versa using either JSON::XS or JSON::PP.")
     (license (package-license perl))))
 
+(define-public perl-json-any
+  (package
+    (name "perl-json-any")
+    (version "1.38")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirros://cpan/authors/id/E/ET/ETHER/"
+                           "JSON-Any-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0mk6shg82i7y852bvj5d0qqma1d9k0jh10k4mg62hbgr800gb2m4"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-fatal" ,perl-test-fatal)
+       ("perl-test-requires", perl-test-requires)
+       ("perl-test-warnings", perl-test-warnings)
+       ("perl-test-without-module", perl-test-without-module)))
+    (propagated-inputs
+     `(("perl-namespace-clean" ,perl-namespace-clean)))
+    (home-page "http://search.cpan.org/dist/JSON-Any";)
+    (synopsis "Wrapper for Perl JSON classes")
+    (description
+     "This module tries to provide a coherent API to bring together the
+various JSON modules currently on CPAN.  This module will allow you to code to
+any JSON API and have it work regardless of which JSON module is actually
+installed.")
+    (license (package-license perl))))
+
 (define-public perl-json-maybexs
   (package
     (name "perl-json-maybexs")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]