From ec395e70cb609bac07fb0eb274728e56bc87ad45 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 29 Feb 2020 21:15:17 +0200 Subject: [PATCH] gnu: rust-ref-cast-0.2: Upgrade to 0.2.7. * gnu/packages/crates-io.scm (rust-ref-cast-0.2): Upgrade to 0.2.7. [arguments]: Don't skip build. Add rust-rustversion-0.1, rust-trybuild-1.0 to cargo-development-inputs. (rust-ref-cast-impl-0.2): Upgrade to 0.2.7. [arguments]: Inherit from rust-ref-cat-impl-1.0. --- gnu/packages/crates-io.scm | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f41c0aa3ee..cbd93a6763 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13771,7 +13771,7 @@ (define-public rust-ref-cast-1.0 (define-public rust-ref-cast-0.2 (package (name "rust-ref-cast") - (version "0.2.6") + (version "0.2.7") (source (origin (method url-fetch) @@ -13780,12 +13780,14 @@ (define-public rust-ref-cast-0.2 (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0jgj1zxaikqm030flpifbp517fy4z21lly6ysbwyciii39bkzcf1")))) + "1fcbpfb7xhr992qvyfg9hr5p63xqykjp48pm3f7a1q21vmhzksvv")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ref-cast-impl" ,rust-ref-cast-impl-0.2)))) + `(#:cargo-inputs + (("rust-ref-cast-impl" ,rust-ref-cast-impl-0.2)) + #:cargo-development-inputs + (("rust-rustversion" ,rust-rustversion-0.1) + ("rust-trybuild" ,rust-trybuild-1.0)))) (home-page "https://github.com/dtolnay/ref-cast") (synopsis "Safely cast &T to &U") (description @@ -13821,7 +13823,7 @@ (define-public rust-ref-cast-impl-0.2 (package (inherit rust-ref-cast-impl-1.0) (name "rust-ref-cast-impl") - (version "0.2.6") + (version "0.2.7") (source (origin (method url-fetch) @@ -13830,12 +13832,7 @@ (define-public rust-ref-cast-impl-0.2 (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0hw0frpzna5rf5szix56zyzd0vackcb3svj94ndj629xi75dkb32")))) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-0.4) - ("rust-quote" ,rust-quote-0.6) - ("rust-syn" ,rust-syn-0.15)))))) + "0av43xxjlinfqklb67rpj217cmaxfjsf8151gs0hbs4hnr5664ck")))))) (define-public rust-regex-1.3 (package