diff options
author | Zheng junjie <873216071@qq.com> | 2021-06-11 20:53:09 +0800 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-13 19:14:07 +0200 |
commit | 76b21762c150787c2db3a104212582ca89cb1204 (patch) | |
tree | d7afe0d71e6515924a71e24ac9b79316ca616ad6 /gnu/packages/crates-io.scm | |
parent | 952de8bdc291534b426e405c52314709fea3cff3 (diff) | |
download | guix-patches-76b21762c150787c2db3a104212582ca89cb1204.tar guix-patches-76b21762c150787c2db3a104212582ca89cb1204.tar.gz |
gnu: Add rust-lsp-server-0.5.
* gnu/packages/crates-io.scm (rust-lsp-server-0.5): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f654ed1bff..e68e0a05d8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24219,6 +24219,36 @@ server (LSP).") ("rust-serde-repr" ,rust-serde-repr-0.1) ("rust-url" ,rust-url-2)))))) +(define-public rust-lsp-server-0.5 + (package + (name "rust-lsp-server") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "lsp-server" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "14irb3kawr5i2cx295xyw8q7pv18d52cjh3c6rd858aw5l2df9b8")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-crossbeam-channel" + ,rust-crossbeam-channel-0.5) + ("rust-log" ,rust-log-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs + (("rust-lsp-types" ,rust-lsp-types-0.83)))) + (home-page + "https://github.com/rust-analyzer/lsp-server") + (synopsis "Generic LSP server scaffold") + (description "This package provides a generic LSP server scaffold.") + (license (list license:expat license:asl2.0)))) + (define-public rust-lzma-sys-0.1 (package (name "rust-lzma-sys") |