summary refs log tree commit diff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorjgart via Guix-patches via <guix-patches@gnu.org>2021-11-28 10:08:53 -0500
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-01 17:12:58 +0100
commit869c7d6703b340ecfa4a3f07db78e93d4b0d30a5 (patch)
tree479706bee8144c6489f34d299b985dab6e954adb /gnu/packages/python-xyz.scm
parent46e030764d8a227f2eb82ce9cd662f7749024bd0 (diff)
downloadguix-869c7d6703b340ecfa4a3f07db78e93d4b0d30a5.tar.gz
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>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm20
1 files changed, 10 insertions, 10 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d9f366f012..e1fbc18fdf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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.")