aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZ572 <873216071@qq.com>2022-01-12 23:27:52 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-21 00:12:00 +0100
commit6992626793f22aaa6359892ee6ae3c4f4315d05c (patch)
treed715c39780bae125d42dadb77979e10c98e64e34
parentb6924ef65a9f51c7e7979737c6fce4b0579acfc7 (diff)
downloadguix-6992626793f22aaa6359892ee6ae3c4f4315d05c.tar.gz
guix-6992626793f22aaa6359892ee6ae3c4f4315d05c.zip
gnu: Add rust-lsp-types-0.91.
* gnu/packages/crates-io.scm (rust-lsp-types-0.91): New variable. (rust-lsp-types-0.89): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm58
1 files changed, 41 insertions, 17 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1e47e51fc3..6d552b2fb2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29852,28 +29852,28 @@ key-value pairs.")
(base32
"0jxsgkn378kxkiqdshdjdclw5wwp2xaz45cqd3yw85fhn8a38fza"))))))
-(define-public rust-lsp-types-0.89
+(define-public rust-lsp-types-0.91
(package
(name "rust-lsp-types")
- (version "0.89.2")
+ (version "0.91.1")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "lsp-types" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "18h9dckjy11pz2lpd5lm12vvfcds1qg67clqalr35k2jzpnhsbl5"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lsp-types" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1bk8iy7s80i2iqj1siyfm0rsdq2vwvz7lclsrcrx2pa2b4n32s13"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-bitflags" ,rust-bitflags-1)
- ("rust-serde" ,rust-serde-1)
- ("rust-serde-json" ,rust-serde-json-1)
- ("rust-serde-repr" ,rust-serde-repr-0.1)
- ("rust-url" ,rust-url-2))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-repr" ,rust-serde-repr-0.1)
+ ("rust-url" ,rust-url-2))))
(home-page "https://github.com/gluon-lang/lsp-types")
(synopsis "Types for interaction with a language server")
(description
@@ -29881,6 +29881,30 @@ key-value pairs.")
server (LSP).")
(license license:expat)))
+(define-public rust-lsp-types-0.89
+ (package
+ (inherit rust-lsp-types-0.91)
+ (name "rust-lsp-types")
+ (version "0.89.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lsp-types" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "18h9dckjy11pz2lpd5lm12vvfcds1qg67clqalr35k2jzpnhsbl5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-repr" ,rust-serde-repr-0.1)
+ ("rust-url" ,rust-url-2))))))
+
(define-public rust-lsp-types-0.83
(package
(inherit rust-lsp-types-0.89)