summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-01-02 12:49:55 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:20:14 +0100
commit3de553049df74a2d2839f618dbb1dd7aa2d51839 (patch)
treed62cb28b7cd7d64cb192612c0317bdd290332aed /gnu
parentbbb4b9fedc6b2b2cdd17c231f602cd19d6fb7cd9 (diff)
gnu: Add python-pygls.
* gnu/packages/python-xyz.scm (python-pygls): New variable. Change-Id: Ifb4bf0277f87fec87161f57ec09b8916ee5de077 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8206432cfa0..f4c6edec046 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2084,6 +2084,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")