gnu: Add rust-lsp-types-0.95.

* gnu/packages/crates-io.scm (rust-lsp-types-0.95): New variable.
(rust-lsp-types-0.91): Inherit from rust-lsp-types-0.95.

Change-Id: Id08e7e72606c60d754e639a2286d57f1537b63f9
This commit is contained in:
Efraim Flashner 2024-03-31 14:32:08 +03:00
parent a40e385a11
commit edffa84ac4
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -39341,34 +39341,50 @@ (define-public rust-lscolors-0.13
#:cargo-development-inputs #:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3)))))) (("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-lsp-types-0.95
(package
(name "rust-lsp-types")
(version "0.95.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "lsp-types" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0ra36fd4yr7lf5igfrdvwjx9g87z3a99mrjgzk9nq04viqxd6d4f"))))
(build-system cargo-build-system)
(arguments
`(#: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
"Types for interaction with a language server, using VSCode's Language
Server Protocol.")
(license license:expat)))
(define-public rust-lsp-types-0.91 (define-public rust-lsp-types-0.91
(package (package
(inherit rust-lsp-types-0.95)
(name "rust-lsp-types") (name "rust-lsp-types")
(version "0.91.1") (version "0.91.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "lsp-types" version)) (uri (crate-uri "lsp-types" version))
(file-name (file-name (string-append name "-" version ".tar.gz"))
(string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32 "1bk8iy7s80i2iqj1siyfm0rsdq2vwvz7lclsrcrx2pa2b4n32s13"))))
"1bk8iy7s80i2iqj1siyfm0rsdq2vwvz7lclsrcrx2pa2b4n32s13"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
#:cargo-inputs #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
(("rust-bitflags" ,rust-bitflags-1) ("rust-serde" ,rust-serde-1)
("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1)
("rust-serde-json" ,rust-serde-json-1) ("rust-serde-repr" ,rust-serde-repr-0.1)
("rust-serde-repr" ,rust-serde-repr-0.1) ("rust-url" ,rust-url-2))))))
("rust-url" ,rust-url-2))))
(home-page "https://github.com/gluon-lang/lsp-types")
(synopsis "Types for interaction with a language server")
(description
"This package provides types useful for interacting with a language
server (LSP).")
(license license:expat)))
(define-public rust-lsp-types-0.89 (define-public rust-lsp-types-0.89
(package (package