[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: Add cl-jzon.
From: |
guix-commits |
Subject: |
03/03: gnu: Add cl-jzon. |
Date: |
Fri, 8 Apr 2022 04:20:14 -0400 (EDT) |
glv pushed a commit to branch master
in repository guix.
commit 96bd801780759804d6daf91c934a618f1651453f
Author: jgart <jgart@dismail.de>
AuthorDate: Thu Apr 7 20:50:56 2022 -0400
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>
---
gnu/packages/lisp-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
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"))