gnu: Add emacs-jsonrpc.

* gnu/packages/emacs-xyz.scm (emacs-jsonrpc): New variable.
This commit is contained in:
Nicolas Goaziou 2020-05-09 21:03:47 +02:00
parent c67db50903
commit b8993c36ea
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -10859,10 +10859,31 @@ (define-public emacs-json-mode
highlighting.")
(license license:gpl3+)))
(define-public emacs-jsonrpc
(package
(name "emacs-jsonrpc")
(version "1.0.11")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/"
"jsonrpc-" version ".el"))
(sha256
(base32 "04cy1mqd6y8k5lcpg076szjk9av9345mmsnzzh6vgbcw3dcgbr23"))))
(build-system emacs-build-system)
(home-page "http://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+)))
(define-public emacs-restclient
(let ((commit "422ee8d8b077dffe65706a0f027ed700b84746bc")
(version "0")
(revision "2")) ;Guix package revision,
(revision "2")) ;Guix package revision,
;upstream doesn't have official releases
(package
(name "emacs-restclient")