summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Salomonsson <plattfot@posteo.net>2022-09-21 02:23:14 +0000
committerGuix Patches Tester <>2022-09-21 03:26:46 +0100
commit790c52d207b47bac837f6a79fdb68d8fc21a6e3e (patch)
treee0ae4cf70674a119a0fa8bbe2a58dc0cfc05855e
parentf6e2ca36515d0c50b4db09ddb0bbfc193ea7fe82 (diff)
downloadguix-patches-790c52d207b47bac837f6a79fdb68d8fc21a6e3e.tar
guix-patches-790c52d207b47bac837f6a79fdb68d8fc21a6e3e.tar.gz
gnu: emacs-jsonrpc: Change source.
* gnu/packages/emacs-xyz.scm (emacs-jsonrpc) [source]: Change to Emacs' Git repository.
-rw-r--r--gnu/packages/emacs-xyz.scm19
1 files changed, 15 insertions, 4 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2cca4eab69..f0810ae200 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16309,12 +16309,23 @@ highlighting.")
(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