This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new df23a50399 gnu: emacs-jsonrpc: Update to 1.0.26.
df23a50399 is described below

commit df23a503998a210697f49a169ab314039889515b
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Wed Oct 29 12:22:33 2025 +0100

    gnu: emacs-jsonrpc: Update to 1.0.26.
    
    Using a specific commit from Emacs repository is time consuming and
    unnecessarily complicated. Also, for some reason, it doesn’t work for the
    update at hand.
    
    This commit provides multiple source URI so old release tarballs can be 
found.
    
    * gnu/packages/emacs-xyz.scm (emacs-jsonrpc): Update to 1.0.26.
    [source]: Switch (back) to ELPA.
    
    Change-Id: I73822bc8e1ae5543b3c41c277522b8ab742927d4
---
 gnu/packages/emacs-xyz.scm | 51 ++++++++++++++++------------------------------
 1 file changed, 18 insertions(+), 33 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index dec7adfa9b..5fff8792b3 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -23872,42 +23872,27 @@ highlighting.")
     (license license:gpl3+)))
 
 (define-public emacs-jsonrpc
-  ;; Commit refers to a commit in the Emacs repository, as jsonrpc.el was
-  ;; upstreamed.  By convention, it should refer to a commit in which
-  ;; jsonrpc.el was actually touched.  In order to find this, you can refer to
-  ;; <https://git.savannah.gnu.org/cgit/emacs.git/log/?qt=grep&q=jsonrpc>.
-  (let ((commit "4e8e877c377e41d72705235922f97b69d81d0267")) ;version bump
-    (package
-      (name "emacs-jsonrpc")
-      (version "1.0.25")
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://git.savannah.gnu.org/git/emacs/";)
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32
-           "1vwk5pwmf61d7yb49wp0ljim3aw002bjdnpw45cpjcbqhbhkgsc6"))))
-      (build-system emacs-build-system)
-      (arguments
-       (list #:phases
-             #~(modify-phases %standard-phases
-                 (replace 'unpack
-                   (lambda* (#:key source #:allow-other-keys)
-                     (mkdir "source")
-                     (chdir "source")
-                     (copy-file (string-append source "/lisp/jsonrpc.el")
-                                "jsonrpc.el"))))))
-      (home-page "https://elpa.gnu.org/packages/jsonrpc.html";)
-      (synopsis "JSON-RPC library")
-      (description
-       "This library implements the JSONRPC 2.0 specification as
+  (package
+    (name "emacs-jsonrpc")
+    (version "1.0.26")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (list (string-append "https://elpa.gnu.org/packages/";
+                                 "jsonrpc-" version ".tar")
+                  (string-append "https://elpa.gnu.org/packages/";
+                                 "jsonrpc-" version ".tar.lz")))
+       (sha256
+        (base32 "0lsm17kak4wb9anplqlyqfy0527akb8vp2gl3lszbxh281kjg1qx"))))
+    (build-system emacs-build-system)
+    (home-page "https://elpa.gnu.org/packages/jsonrpc.html";)
+    (synopsis "JSON-RPC library")
+    (description
+     "This library implements the JSONRPC 2.0 specification as
 described in @url{http://www.jsonrpc.org/}.  As the name suggests,
 JSONRPC is a generic Remote Procedure Call protocol designed around
 JSON objects.")
-      (license license:gpl3+))))
+    (license license:gpl3+)))
 
 (define-public emacs-jsonnet-mode
   (package

Reply via email to