summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2024-09-26 11:44:00 -0500
committerjgart <jgart@dismail.de>2024-09-26 20:33:45 -0500
commita671bdaabcd767cf9c9e69c9cb4239a286ce6b51 (patch)
tree4a0582e0a73af88a8c6da844384cb293710d465f
parent3db0cc4f5de9a6b1b06fd56ea0a9eddb9f6fa7f4 (diff)
gnu: Add cl-jsonrpc.
* gnu/packages/lisp-xyz.scm (cl-jsonrpc, ecl-jsonrpc, sbcl-jsonrpc): New variables. Co-authored-by: Ada Stevenson <adanskana@gmail.com> Change-Id: I4428f0068c8b75b0ae39888c5af787a1b1469160
-rw-r--r--gnu/packages/lisp-xyz.scm42
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 2b8b455dc9..f0e0f6c067 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -18542,6 +18542,48 @@ building block for higher level libraries.")
(define-public ecl-json-streams
(sbcl-package->ecl-package sbcl-json-streams))
+(define-public sbcl-jsonrpc
+ (let ((commit "4abbd305bae7827ad39048f956887db11505ad50")
+ (revision "0"))
+ (package
+ (name "sbcl-jsonrpc")
+ (version (git-version "0.3.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cxxxr/jsonrpc")
+ (commit commit)))
+ (file-name (git-file-name "jsonrpc" version))
+ (sha256
+ (base32 "08fz50wmbjic9m31av1fq4a3v5ahry58c8z2bmn3ib52k6nnjrk2"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs (list sbcl-rove))
+ (inputs (list sbcl-clack
+ sbcl-http-body
+ sbcl-lack
+ sbcl-yason
+ sbcl-bordeaux-threads
+ sbcl-event-emitter
+ sbcl-alexandria
+ sbcl-dissect
+ sbcl-trivial-timeout
+ sbcl-chanl
+ sbcl-vom
+ sbcl-usocket
+ sbcl-websocket-driver))
+ (home-page "https://github.com/cxxxr/jsonrpc")
+ (synopsis "JSON-RPC 2.0 server/client for Common Lisp")
+ (description
+ "This package provides a JSON-RPC 2.0 server/client for Common Lisp.")
+ (license license:bsd-2))))
+
+(define-public cl-jsonrpc
+ (sbcl-package->cl-source-package sbcl-jsonrpc))
+
+(define-public ecl-jsonrpc
+ (sbcl-package->ecl-package sbcl-jsonrpc))
+
(define-public sbcl-jsown
(let ((commit "744c4407bef58dfa876d9da0b5c0205d869e7977"))
(package