From df23a503998a210697f49a169ab314039889515b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 29 Oct 2025 12:22:33 +0100 Subject: [PATCH] gnu: emacs-jsonrpc: Update to 1.0.26. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 dec7adfa9b357669e28b67fdc3582bf8b78e551f..5fff8792b3e2c3a2fb21afb4a5a9aca134f02e6e 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 - ;; . - (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