[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/07: gnu: Add cl-json.
From: |
Pierre Neidhardt |
Subject: |
04/07: gnu: Add cl-json. |
Date: |
Tue, 9 Oct 2018 15:39:17 -0400 (EDT) |
ambrevar pushed a commit to branch wip-next-browser
in repository guix.
commit 68f2e289326b25fac8f92bdad852a2050d6bb6d5
Author: Pierre Neidhardt <address@hidden>
Date: Tue Oct 9 11:59:30 2018 +0200
gnu: Add cl-json.
* gnu/packages/lisp.scm (cl-json, ecl-cl-json, sbcl-cl-json): New variables.
---
gnu/packages/lisp.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 9563494..687da44 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -3043,3 +3043,37 @@ JavaScript.
(define-public ecl-parenscript
(sbcl-package->ecl-package sbcl-parenscript))
+
+(define-public sbcl-cl-json
+ (let ((commit "6dfebb9540bfc3cc33582d0c03c9ec27cb913e79"))
+ (package
+ (name "sbcl-cl-json")
+ (version (git-version "0.5" "1" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hankhero/cl-json")
+ (commit commit)))
+ (file-name (git-file-name "cl-json" version))
+ (sha256
+ (base32
+ "0fx3m3x3s5ji950yzpazz4s0img3l6b3d6l3jrfjv0lr702496lh"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs
+ `(("fiveam" ,sbcl-fiveam)))
+ (home-page "https://github.com/hankhero/cl-json")
+ (synopsis "JSON encoder and decoder for Common-Lisp")
+ (description
+ "@command{cl-json} provides an encoder of Lisp objects to JSON format
+and a corresponding decoder of JSON data to Lisp objects. Both the encoder
+and the decoder are highly customizable; at the same time, the default
+settings ensure a very simple mode of operation, similar to that provided by
address@hidden or @command{st-json}.")
+ (license license:expat))))
+
+(define-public cl-json
+ (sbcl-package->cl-source-package sbcl-cl-json))
+
+(define-public ecl-cl-json
+ (sbcl-package->ecl-package sbcl-cl-json))
- branch wip-next-browser updated (d6fdab2 -> 1ab5ad6), Pierre Neidhardt, 2018/10/09
- 05/07: gnu: Add cl-unix-opts., Pierre Neidhardt, 2018/10/09
- 03/07: gnu: Add parenscript., Pierre Neidhardt, 2018/10/09
- 04/07: gnu: Add cl-json.,
Pierre Neidhardt <=
- 06/07: gnu: Add sbcl-cl-cffi-gtk., Pierre Neidhardt, 2018/10/09
- 02/07: cl-sqlite (FIX), Pierre Neidhardt, 2018/10/09
- 01/07: cl-sqlite (FIX), Pierre Neidhardt, 2018/10/09
- 07/07: next (FIX), Pierre Neidhardt, 2018/10/09