From 074c19c11c7308c0c3353f93f4afc8bcb4b73d11 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 27 Aug 2022 23:56:37 +0200 Subject: [PATCH] gnu: Add rust-crates-io-0.31. * gnu/packages/crates-io.scm (rust-crates-io-0.31): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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 @@ (define-public rust-crates-io-0.33 @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")