From a768ad633b3c552dd47df7fa127e63d235e12fbb Mon Sep 17 00:00:00 2001 From: Z572 <873216071@qq.com> Date: Wed, 12 Jan 2022 23:27:45 +0800 Subject: gnu: Add rust-chalk-derive-0.75. * gnu/packages/crates-io.scm (rust-chalk-derive-0.75): New variable. (rust-chalk-derive-0.68): Inherit from above. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a012f2ad8d..9a580660da 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9227,10 +9227,10 @@ chain, the first matching branch is the item that gets emitted.") (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))))) -(define-public rust-chalk-derive-0.68 +(define-public rust-chalk-derive-0.75 (package (name "rust-chalk-derive") - (version "0.68.0") + (version "0.75.0") (source (origin (method url-fetch) @@ -9239,7 +9239,7 @@ chain, the first matching branch is the item that gets emitted.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0ss18zx2ddp50mvbwffs5jmmcs7a0pkiq1g62xa7z1bacvkm45ga")))) + "0v1i5sb1w2skqg5sjy3gimdglsq0in6mc1zz36qyc99lkrgknknm")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -9256,6 +9256,28 @@ chain, the first matching branch is the item that gets emitted.") macros.") (license (list license:asl2.0 license:expat)))) +(define-public rust-chalk-derive-0.68 + (package + (inherit rust-chalk-derive-0.75) + (name "rust-chalk-derive") + (version "0.68.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "chalk-derive" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ss18zx2ddp50mvbwffs5jmmcs7a0pkiq1g62xa7z1bacvkm45ga")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1) + ("rust-synstructure" ,rust-synstructure-0.12)))))) (define-public rust-chalk-ir-0.68 (package (name "rust-chalk-ir") -- cgit v1.2.3