From 3de553049df74a2d2839f618dbb1dd7aa2d51839 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 2 Jan 2026 12:49:55 +0000 Subject: [PATCH] gnu: Add python-pygls. * gnu/packages/python-xyz.scm (python-pygls): New variable. Change-Id: Ifb4bf0277f87fec87161f57ec09b8916ee5de077 Signed-off-by: Rutherther --- 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 8206432cfa011ae38c95e174654db3f489ad8802..f4c6edec0465336005e2d7122ffb240159038f8c 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")