aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/lisp-xyz.scm
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2022-04-07 20:50:56 -0400
committerGuillaume Le Vaillant <glv@posteo.net>2022-04-08 10:03:58 +0200
commit96bd801780759804d6daf91c934a618f1651453f (patch)
treed8c457b65c63990749ff806c253f21036743b861 /gnu/packages/lisp-xyz.scm
parentb67c67b0270a0e27ef6bc68efcc721bad8d445c9 (diff)
downloadguix-96bd801780759804d6daf91c934a618f1651453f.tar
guix-96bd801780759804d6daf91c934a618f1651453f.tar.gz
gnu: Add cl-jzon.
* gnu/packages/lisp-xyz.scm (cl-jzon, ecl-jzon, sbcl-jzon): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu/packages/lisp-xyz.scm')
-rw-r--r--gnu/packages/lisp-xyz.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 32461c2d30..358bba4e89 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20828,6 +20828,45 @@ implementation for Common Lisp.")
(define-public ecl-websocket-driver
(sbcl-package->ecl-package sbcl-websocket-driver))
+(define-public sbcl-jzon
+ (let ((commit "5364590f5d2e6d6f1932d1ea3acba1ee2a82f31e")
+ (revision "0"))
+ (package
+ (name "sbcl-jzon")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Zulu-Inuoe/jzon")
+ (commit commit)))
+ (file-name (git-file-name "cl-jzon" version))
+ (sha256
+ (base32 "1048f6prz2lp859nxwcgghn6n38pc2pb580azzxpdhfcdi0034mj"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ '(#:asd-files '("src/com.inuoe.jzon.asd" "test/com.inuoe.jzon-tests.asd")
+ #:asd-systems '("com.inuoe.jzon" "com.inuoe.jzon-tests")))
+ (native-inputs
+ (list sbcl-alexandria
+ sbcl-fiveam
+ sbcl-flexi-streams))
+ (inputs
+ (list sbcl-closer-mop
+ sbcl-flexi-streams))
+ (home-page "https://github.com/Zulu-Inuoe/jzon/")
+ (synopsis "Correct and safe JSON parser")
+ (description
+ "@code{jzon} is a correct and safe JSON RFC 8259 parser for Common
+Lisp.")
+ (license license:expat))))
+
+(define-public cl-jzon
+ (sbcl-package->cl-source-package sbcl-jzon))
+
+(define-public ecl-jzon
+ (sbcl-package->ecl-package sbcl-jzon))
+
(define-public sbcl-purgatory
(let ((commit "ade0d60a14a1067b9cc8cf06d1f1a1ca8cecdb03")
(revision "1"))