all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Fredrik Salomonsson <plattfot@posteo.net>
To: 57964@debbugs.gnu.org
Cc: Fredrik Salomonsson <plattfot@posteo.net>
Subject: [bug#57964] [PATCH 1/1] gnu: emacs-jsonrpc: Change source.
Date: Wed, 21 Sep 2022 02:23:14 +0000	[thread overview]
Message-ID: <20220921022314.74064-1-plattfot@posteo.net> (raw)
In-Reply-To: <20220921022107.73691-1-plattfot@posteo.net>

* gnu/packages/emacs-xyz.scm (emacs-jsonrpc)
[source]: Change to Emacs' Git repository.
---
 gnu/packages/emacs-xyz.scm | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 32e4c33f16..889820350e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16345,12 +16345,23 @@ (define-public emacs-jsonrpc
     (version "1.0.15")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://elpa.gnu.org/packages/"
-                           "jsonrpc-" version ".tar"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://git.savannah.gnu.org/git/emacs.git/")
+             (commit "1231a601ebe1fd9fe454c504dbeb9267440242e7")))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1hx378rg12jz2zm105cvrqk0nqyzsn04l59d903l98d6lbd96rsw"))))
+        (base32
+         "00i5n150ibkdn2i3p8q3d1ag5jnikfc988f3hz2yfdk4z0ajj536"))))
     (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 "http://elpa.gnu.org/packages/jsonrpc.html")
     (synopsis "JSON-RPC library")
     (description
-- 
2.37.3





  reply	other threads:[~2022-09-21  2:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-21  2:21 [bug#57964] [PATCH 0/1] Change source for emacs-jsonrpc Fredrik Salomonsson
2022-09-21  2:23 ` Fredrik Salomonsson [this message]
2022-09-21  6:35 ` Josselin Poiret via Guix-patches via
2022-09-23 23:42 ` [bug#57964] [PATCH 0/1] Correct hash Fredrik Salomonsson
2022-09-23 23:42 ` [bug#57964] [PATCH 1/1] gnu: emacs-jsonrpc: " Fredrik Salomonsson
2022-09-24  5:20   ` bug#57964: " Liliana Marie Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220921022314.74064-1-plattfot@posteo.net \
    --to=plattfot@posteo.net \
    --cc=57964@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.