diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-01-02 12:49:55 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:20:13 +0100 |
| commit | bbb4b9fedc6b2b2cdd17c231f602cd19d6fb7cd9 (patch) | |
| tree | 462c77451507ae88d3cda7d604a821deb9668535 /gnu/packages | |
| parent | b5a9dbc129b8fab39dae2469d120f0dc32b51da7 (diff) | |
gnu: Add python-lsprotocol.
* gnu/packages/python-xyz.scm (python-lsprotocol): New variable.
Change-Id: Id12df328f4c8f51f9c45914fba8f4991857f7596
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4968b1e9711..8206432cfa0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1709,6 +1709,41 @@ various languages.") be displayed on the terminal, with color if possible, for logging purposes.") (license license:expat))) +(define-public python-lsprotocol + (package + (name "python-lsprotocol") + (version "2025.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/microsoft/lsprotocol") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0m5c2wd7f3i1ipdf0lqhfmgi7d9jw6sa49pvx8828r83r0f9gd8f")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f ;no tests for Python package + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'cd-packages-python + (lambda _ + (chdir "packages/python")))))) + (native-inputs + (list python-flit-core)) + (propagated-inputs + (list python-attrs + python-cattrs)) + (home-page "https://github.com/microsoft/lsprotocol") + (synopsis "Python types for Language Server Protocol.") + (description + "@code{lsprotocol} is a Python implementation of object types used in +the Language Server Protocol (LSP). This repository contains the code +generator and the generated types for LSP.") + (license license:expat))) + (define-public python-marisa-trie (package (name "python-marisa-trie") |
