guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit a850e9d3913a5b9257c1d08af5bd04a58c0ed154
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Jan 2 12:49:55 2026 +0000

    gnu: Add python-pygls.
    
    * gnu/packages/python-xyz.scm (python-pygls): New variable.
    
    Change-Id: Ifb4bf0277f87fec87161f57ec09b8916ee5de077
---
 gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f116a93170..5fc24ced6e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2038,6 +2038,36 @@ cache directory, to avoid modifying the host's 
environment, and further
 activated using a set of environment variables.")
     (license (list license:expat license:asl2.0))))
 
+(define-public python-pygls
+  (package
+    (name "python-pygls")
+    (version "2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/openlawlibrary/pygls";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1y1adnmr4w4c3zk1lzk21fdz9ab9c1az7acm1rz262h0q7bwl0km"))))
+    (build-system pyproject-build-system)
+    ;; tests: 265 passed, 8 skipped
+    (native-inputs
+     (list python-pytest
+           python-pytest-asyncio
+           python-poetry-core))
+    (propagated-inputs
+     (list python-attrs
+           python-cattrs
+           python-lsprotocol))
+    (home-page "https://github.com/openlawlibrary/pygls";)
+    (synopsis "Pythonic generic language server")
+    (description
+     "This package provides a pythonic generic language server (pronounced
+like pie glass').")
+    (license license:asl2.0)))
+
 (define-public python-pypydispatcher
   (package
     (name "python-pypydispatcher")

Reply via email to