GNU bug report logs - #60444
[PATCH] gnu: Add guile-scheme-json-rpc

Previous Next

Package: guix-patches;

Reported by: Abhishek Cherath <abhi <at> quic.us>

Date: Sat, 31 Dec 2022 07:30:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60444 in the body.
You can then email your comments to 60444 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#60444; Package guix-patches. (Sat, 31 Dec 2022 07:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Abhishek Cherath <abhi <at> quic.us>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 31 Dec 2022 07:30:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Abhishek Cherath <abhi <at> quic.us>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add guile-scheme-json-rpc
Date: Sat, 31 Dec 2022 02:28:14 -0500
* gnu/packages/guile-xyz.scm (guile-scheme-json-rpc): New variable.
---
 gnu/packages/guile-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 50872b3f36..ab7f221f8c 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -1028,6 +1028,37 @@ (define-public guile2.2-sjson
     (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))
+      (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))
+      (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"))))
+      (synopsis "Library providing json-rpc capability in scheme")
+      (description
+       "Experimental implementation of https://www.jsonrpc.org/specification,
+allows for calling methods on remote servers by exchanging json objects.")
+      (license license:expat)
+      (home-page "https://codeberg.org/rgherdt/scheme-json-rpc/"))))
+
 (define-public guile-squee
   (let ((commit "a151fd006fa819945ca1d4749b173854269b9f70")
         (revision "3"))
-- 
2.38.1





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 10 Jan 2023 10:33:02 GMT) Full text and rfc822 format available.

Notification sent to Abhishek Cherath <abhi <at> quic.us>:
bug acknowledged by developer. (Tue, 10 Jan 2023 10:33:02 GMT) Full text and rfc822 format available.

Message #10 received at 60444-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Abhishek Cherath <abhi <at> quic.us>
Cc: 60444-done <at> debbugs.gnu.org
Subject: Re: bug#60444: [PATCH] gnu: Add guile-scheme-json-rpc
Date: Tue, 10 Jan 2023 11:32:01 +0100
[Message part 1 (text/plain, inline)]
Hi,

Abhishek Cherath <abhi <at> quic.us> skribis:

> * gnu/packages/guile-xyz.scm (guile-scheme-json-rpc): New variable.

Applied with the cosmetic changes below: keeping a more conventional
order for fields, and improving the description as per
<https://guix.gnu.org/manual/devel/en/html_node/Synopses-and-Descriptions.html>.

Thanks,
Ludo’.

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 9866b60b16..3f84594014 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -1027,6 +1027,15 @@ (define-public guile-scheme-json-rpc
     (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
@@ -1035,21 +1044,13 @@ (define-public guile-scheme-json-rpc
                         (chdir "guile"))))))
       (inputs (list guile-3.0 guile-json-3))
       (native-inputs (list pkg-config))
-      (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"))))
-      (synopsis "Library providing json-rpc capability in scheme")
+      (synopsis "Library providing JSON-RPC capability in Scheme")
       (description
-       "Experimental implementation of https://www.jsonrpc.org/specification,
-allows for calling methods on remote servers by exchanging json objects.")
-      (license license:expat)
-      (home-page "https://codeberg.org/rgherdt/scheme-json-rpc/"))))
+       "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")

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 07 Feb 2023 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 128 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.