summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-08-27 23:56:37 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-09-05 00:12:45 +0200
commit074c19c11c7308c0c3353f93f4afc8bcb4b73d11 (patch)
tree7f0367a44ba2b6398f2714b4a8ece8f4e1304fff /gnu/packages/crates-io.scm
parent6746f2b00d660e0787eda83aa48f1a6cc0b61cb0 (diff)
downloadguix-074c19c11c7308c0c3353f93f4afc8bcb4b73d11.tar.gz
gnu: Add rust-crates-io-0.31.
* gnu/packages/crates-io.scm (rust-crates-io-0.31): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c552280179..85de45712e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14059,6 +14059,28 @@ to @code{is_x86_feature_detected}.")
 @url{crates.io}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-crates-io-0.31
+  (package
+    (inherit rust-crates-io-0.33)
+    (name "rust-crates-io")
+    (version "0.31.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "crates-io" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0jhx0pgprlzypq037rkdsc2k3knlimx2vp5k7vwyvsa6iaa7gy89"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-curl" ,rust-curl-0.4)
+        ("rust-percent-encoding" ,rust-percent-encoding-2)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-url" ,rust-url-2))))))
+
 (define-public rust-crc-1
   (package
     (name "rust-crc")