summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZheng junjie <873216071@qq.com>2021-06-11 20:53:08 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-13 19:14:07 +0200
commit952de8bdc291534b426e405c52314709fea3cff3 (patch)
tree654c6de47a282fd5f60f40bc131f28945ee23a13 /gnu/packages
parentb59e785e3ce2f75ac8e4e656d99dd8429dc90e91 (diff)
downloadguix-952de8bdc291534b426e405c52314709fea3cff3.tar.gz
gnu: Add rust-lsp-types-0.83.
* gnu/packages/crates-io.scm (rust-lsp-types-0.83): New variable.
(rust-lsp-types-0.80): inherit from above.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 28 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 165fe70c34..f654ed1bff 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24167,17 +24167,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
@@ -24195,6 +24197,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")