gnu: Add python-lsp-jsonrpc.

* gnu/packages/python-xyz.scm (python-jsonrpc-server): Delete variable.
* gnu/packages/python-xyz.scm (python-lsp-jsonrpc): New variable.

Removes deprecated python-jsonrpc-server package and adds maintained
fork.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
jgart via Guix-patches via 2021-11-28 10:08:53 -05:00 committed by Nicolas Goaziou
parent 46e030764d
commit 869c7d6703
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -4916,24 +4916,24 @@ (define-public python-feedgenerator
(define-public python2-feedgenerator (define-public python2-feedgenerator
(package-with-python2 python-feedgenerator)) (package-with-python2 python-feedgenerator))
(define-public python-jsonrpc-server (define-public python-lsp-jsonrpc
(package (package
(name "python-jsonrpc-server") (name "python-lsp-jsonrpc")
(version "0.4.0") (version "1.0.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "python-jsonrpc-server" version)) (uri (pypi-uri "python-lsp-jsonrpc" version))
(sha256 (sha256
(base32 (base32
"1585ybn3djvx5r5zbxkzlhz2wb1d47y4wrfwaxdyq0gi87jl7ib2")))) "1gb0fsamxndhplx25v8m0b3k7aknzy454fpa0qsqsqnv6c3igv3v"))))
(build-system python-build-system) (build-system python-build-system)
(propagated-inputs (native-inputs
`(("python-mock" ,python-mock) `(("python-mock" ,python-mock)
("python-pytest" ,python-pytest) ("python-pytest" ,python-pytest)))
("python-ujson" ,python-ujson))) (propagated-inputs
(home-page `(("python-ujson" ,python-ujson)))
"https://github.com/palantir/python-jsonrpc-server") (home-page "https://github.com/python-lsp/python-lsp-jsonrpc")
(synopsis "JSON RPC 2.0 server library") (synopsis "JSON RPC 2.0 server library")
(description (description
"This package provides a JSON RPC 2.0 server library for Python.") "This package provides a JSON RPC 2.0 server library for Python.")