~ruther/guix-local

869c7d6703b340ecfa4a3f07db78e93d4b0d30a5 — jgart via Guix-patches via 4 years ago 46e0307
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>
1 files changed, 10 insertions(+), 10 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +10 -10
@@ 4916,24 4916,24 @@ which can produce feeds in RSS 2.0, RSS 0.91, and Atom formats.")
(define-public python2-feedgenerator
  (package-with-python2 python-feedgenerator))

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