diff options
author | Abhishek Cherath <abhi@quic.us> | 2022-12-31 02:28:14 -0500 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-01-10 11:49:14 +0100 |
commit | 5ef6d3ea11bd87476dd3b566fd115348d2ca08c6 (patch) | |
tree | 0e9a02ff0e9c8fa142d26b1ef89a5bd22b30ee27 /gnu/packages/guile-xyz.scm | |
parent | 35eaba00e659a16279daf7f356119e10198afa84 (diff) | |
download | guix-5ef6d3ea11bd87476dd3b566fd115348d2ca08c6.tar guix-5ef6d3ea11bd87476dd3b566fd115348d2ca08c6.tar.gz |
gnu: Add guile-scheme-json-rpc.
* gnu/packages/guile-xyz.scm (guile-scheme-json-rpc): New variable.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/guile-xyz.scm')
-rw-r--r-- | gnu/packages/guile-xyz.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index cfb6fa97ec..3f84594014 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -1020,6 +1020,38 @@ It has a nice, simple s-expression based syntax.") (name "guile2.2-sjson") (inputs (list guile-2.2)))) +(define-public guile-scheme-json-rpc + (let ((commit "45ae6890f6619286f5679f88c094c88127b54c4a") + (revision "0") + (version "0.2.11")) + (package + (name "guile-scheme-json-rpc") + (version (git-version version revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/rgherdt/scheme-json-rpc.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0w4m8xx8yyj0rv0q57mjr8ja87l7yikscj33i3ck26wg7230ppa5")))) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'change-to-guile-dir + (lambda _ + (chdir "guile")))))) + (inputs (list guile-3.0 guile-json-3)) + (native-inputs (list pkg-config)) + (synopsis "Library providing JSON-RPC capability in Scheme") + (description + "This library implements parts of the +@uref{https://www.jsonrpc.org/specification,JSON-RPC specification}, allowing +for calling methods on remote servers by exchanging JSON objects.") + (home-page "https://codeberg.org/rgherdt/scheme-json-rpc/") + (license license:expat)))) + (define-public guile-squee (let ((commit "a151fd006fa819945ca1d4749b173854269b9f70") (revision "3")) |