Subject: [bug#48956] [PATCH 29/58] gnu: Add rust-lsp-types-0.83.

From: Zheng Junjie <[email-masked]>
Date: Fri, 11 Jun 2021 20:53:08 +0800

From: Zheng junjie <[email-masked]>

* gnu/packages/crates-io.scm (rust-lsp-types-0.83): New variable.
(rust-lsp-types-0.80): inherit from above.
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++----
 1 file changed, 28 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c54c23279e..f32047c0ac 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24172,17 +24172,19 @@ key-value pairs.")
         (base32
          "0jxsgkn378kxkiqdshdjdclw5wwp2xaz45cqd3yw85fhn8a38fza"))))))
 
-(define-public rust-lsp-types-0.80
+(define-public rust-lsp-types-0.83
   (package
     (name "rust-lsp-types")
-    (version "0.80.0")
+    (version "0.83.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "lsp-types" version))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1vwjmi4apa4np6fgy95gq1nxc322br9cx7q2mm6vpb5x2lkmw9pl"))))
+        (base32
+         "0vdbdb74w1aim0q0nqnjvddrqz9cwirwbkjykwgjg5sbhcwrzry4"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
@@ -24200,6 +24202,28 @@ key-value pairs.")
 server (LSP).")
     (license license:expat)))
 
+(define-public rust-lsp-types-0.80
+  (package
+    (inherit rust-lsp-types-0.83)
+    (name "rust-lsp-types")
+    (version "0.80.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lsp-types" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1vwjmi4apa4np6fgy95gq1nxc322br9cx7q2mm6vpb5x2lkmw9pl"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-base64" ,rust-base64-0.12)
+        ("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-lzma-sys-0.1
   (package
     (name "rust-lzma-sys")
-- 
2.32.0