From 3e7f69f8556191d920c762480aec09d38be3ee66 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 31 Mar 2024 14:57:59 +0300 Subject: [PATCH] gnu: Add rust-lsp-server-0.7. * gnu/packages/crates-io.scm (rust-lsp-server-0.7): New variable. Change-Id: I70574064282750097bc5ee3de5d20c96659c812c --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 145d173eeb..7b05bee526 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39342,6 +39342,31 @@ key-value pairs.") #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-lsp-server-0.7 + (package + (name "rust-lsp-server") + (version "0.7.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "lsp-server" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15bhdhkinhhw5fifrpmiiqdd4hwblac40jv0n7hxidbdiyvnb3r4")))) + (build-system cargo-build-system) + (arguments + `(#: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-ctrlc" ,rust-ctrlc-3) + ("rust-lsp-types" ,rust-lsp-types-0.95)))) + (home-page + "https://github.com/rust-lang/rust-analyzer/tree/master/lib/lsp-server") + (synopsis "Generic LSP server scaffold") + (description "This package provides generic LSP server scaffold.") + (license (list license:expat license:asl2.0)))) + (define-public rust-lsp-types-0.95 (package (name "rust-lsp-types")