From a9bc8eeacb2289d103b66385ecc46f3f85270c1e Mon Sep 17 00:00:00 2001 From: Z572 <873216071@qq.com> Date: Wed, 12 Jan 2022 23:27:48 +0800 Subject: [PATCH] gnu: Add rust-chalk-recursive-0.75. * gnu/packages/crates-io.scm (rust-chalk-recursive-0.75): New variable. (rust-chalk-recursive-0.68): Inherit from above. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 911fd2dfd3..b01c97b65e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9329,8 +9329,38 @@ (define-public rust-chalk-ir-0.68 ("rust-chalk-derive" ,rust-chalk-derive-0.68) ("rust-lazy-static" ,rust-lazy-static-1)))))) +(define-public rust-chalk-recursive-0.75 + (package + (name "rust-chalk-recursive") + (version "0.75.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "chalk-recursive" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "11bnn0yn9np4mar4nryys6w1ijizj3y9dcz3xbldxzx6fplmk7y3")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-chalk-derive" ,rust-chalk-derive-0.75) + ("rust-chalk-ir" ,rust-chalk-ir-0.75) + ("rust-chalk-solve" ,rust-chalk-solve-0.75) + ("rust-rustc-hash" ,rust-rustc-hash-1) + ("rust-tracing" ,rust-tracing-0.1)))) + (home-page "https://github.com/rust-lang/chalk") + (synopsis + "Recursive solver for the Chalk project") + (description + "Recursive solver for the Chalk project") + (license (list license:asl2.0 license:expat)))) + (define-public rust-chalk-recursive-0.68 (package + (inherit rust-chalk-recursive-0.75) (name "rust-chalk-recursive") (version "0.68.0") (source @@ -9350,13 +9380,7 @@ (define-public rust-chalk-recursive-0.68 ("rust-chalk-ir" ,rust-chalk-ir-0.68) ("rust-chalk-solve" ,rust-chalk-solve-0.68) ("rust-rustc-hash" ,rust-rustc-hash-1) - ("rust-tracing" ,rust-tracing-0.1)))) - (home-page "https://github.com/rust-lang/chalk") - (synopsis - "Recursive solver for the Chalk project") - (description - "Recursive solver for the Chalk project") - (license (list license:asl2.0 license:expat)))) + ("rust-tracing" ,rust-tracing-0.1)))))) (define-public rust-chalk-solve-0.75 (package