Subject: [PATCH 05/22] gnu: Add python-pyls-spyder.

From: Vinicius Monego <[email-masked]>
Date: Tue, 20 Apr 2021 05:22:29 +0000

* gnu/packages/spyder.scm (python-pyls-spyder): New variable.
---
 gnu/packages/spyder.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/spyder.scm b/gnu/packages/spyder.scm
index 9983066803..b1b10f6eb8 100644
--- a/gnu/packages/spyder.scm
+++ b/gnu/packages/spyder.scm
@@ -92,3 +92,34 @@ These kernels can launched either through Spyder itself or in an independent
 Python session, and allow for interactive or file-based execution of Python
 code inside Spyder.")
     (license license:expat)))
+
+(define-public python-pyls-spyder
+  (package
+    (name "python-pyls-spyder")
+    (version "0.3.2")
+    (source
+     (origin
+       ;; There are no tests in the PyPI tarball.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/spyder-ide/pyls-spyder/")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1qj0xc2n8hx6883rhl2mn5jrf421paqqwhzivn739z5wh5ssw99z"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:test-target "pytest"))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-runner" ,python-pytest-runner)))
+    (propagated-inputs
+     `(("python-language-server"
+        ,python-language-server)))
+    (home-page "https://github.com/spyder-ide/pyls-spyder")
+    (synopsis "Spyder extensions for the Python Language Server")
+    (description
+     "This package provides Spyder-specific extras for the Language Server
+Protocol (LSP) on Python, such as document symbol searching and others.")
+    (license license:expat)))
+
-- 
2.31.1