From 49fe093fa9c1cd5872c184e331f49fd9ed81a615 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 14 Sep 2020 23:12:26 +0530 Subject: [PATCH] gnu: rust-rustversion-1.0: Remove minor version from variable name. * gnu/packages/crates-io.scm (rust-rustversion-1.0): Rename to rust-rustversion-1. --- gnu/packages/crates-io.scm | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 91bc930aef..a51987b839 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -448,9 +448,9 @@ (define-public rust-anyhow-1.0 `(#:skip-build? #t #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3) - ("rust-rustversion" ,rust-rustversion-1.0) ("rust-thiserror" ,rust-thiserror-1.0) ("rust-trybuild" ,rust-trybuild-1.0)))) + ("rust-rustversion" ,rust-rustversion-1) (home-page "https://github.com/dtolnay/anyhow") (synopsis "Flexible concrete Error type") (description "This package provides a flexible concrete Error type built on @@ -6632,7 +6632,7 @@ (define-public rust-err-derive-0.2 ("rust-proc-macro-error" ,rust-proc-macro-error-0.4) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-syn" ,rust-syn-1) - ("rust-rustversion" ,rust-rustversion-1.0) + ("rust-rustversion" ,rust-rustversion-1) ("rust-quote" ,rust-quote-1)) #:cargo-development-inputs (("rust-skeptic" ,rust-skeptic-0.13)))) @@ -15775,8 +15775,8 @@ (define-public rust-paste-0.1 (("rust-paste-impl" ,rust-paste-impl-0.1) ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)) #:cargo-development-inputs - (("rust-rustversion" ,rust-rustversion-1.0) ("rust-trybuild" ,rust-trybuild-1.0)))) + (("rust-rustversion" ,rust-rustversion-1) (home-page "https://github.com/dtolnay/paste") (synopsis "Macros for all your token pasting needs") (description @@ -16631,7 +16631,7 @@ (define-public rust-pin-project-lite-0.1 (build-system cargo-build-system) (arguments `(#:cargo-development-inputs - (("rust-rustversion" ,rust-rustversion-1.0) + (("rust-rustversion" ,rust-rustversion-1) ("rust-trybuild" ,rust-trybuild-1.0)))) (home-page "https://github.com/taiki-e/pin-project-lite") (synopsis "Lightweight version of pin-project written with declarative @@ -17194,7 +17194,7 @@ (define-public rust-proc-macro-hack-0.5 (arguments `(#:cargo-development-inputs (("rust-quote" ,rust-quote-1) - ("rust-rustversion" ,rust-rustversion-1.0) + ("rust-rustversion" ,rust-rustversion-1) ("rust-syn" ,rust-syn-1) ("rust-trybuild" ,rust-trybuild-1.0) ("rust-demo-hack" ,rust-demo-hack-0.0) @@ -17935,8 +17935,8 @@ (define-public rust-quote-1 `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)) #:cargo-development-inputs - (("rust-rustversion" ,rust-rustversion-1.0) ("rust-trybuild" ,rust-trybuild-1.0)))) + (("rust-rustversion" ,rust-rustversion-1) (home-page "https://github.com/dtolnay/quote") (synopsis "Quasi-quoting macro quote!(...)") (description "Quasi-quoting macro quote!(...)") @@ -18987,8 +18987,8 @@ (define-public rust-ref-cast-1.0 `(#:cargo-inputs (("rust-ref-cast-impl" ,rust-ref-cast-impl-1.0)) #:cargo-development-inputs - (("rust-rustversion" ,rust-rustversion-1.0) ("rust-trybuild" ,rust-trybuild-1.0)))) + (("rust-rustversion" ,rust-rustversion-1) (home-page "https://github.com/dtolnay/ref-cast") (synopsis "Safely cast &T to &U") (description @@ -20512,7 +20512,7 @@ (define-public rust-rusttype-0.7 ("rust-lazy-static" ,rust-lazy-static-1) ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)))))) -(define-public rust-rustversion-1.0 +(define-public rust-rustversion-1 (package (name "rust-rustversion") (version "1.0.2") @@ -21618,7 +21618,7 @@ (define-public rust-serde-json-1 ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (;("rust-automod" ,rust-automod-0.1) - ("rust-rustversion" ,rust-rustversion-1.0) + ("rust-rustversion" ,rust-rustversion-1) ("rust-serde-bytes" ,rust-serde-bytes-0.11) ("rust-serde-derive" ,rust-serde-derive-1) ;("rust-serde-stacker" ,rust-serde-stacker-0.1) @@ -24782,8 +24782,8 @@ (define-public rust-thiserror-1.0 #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1.0) ("rust-ref-cast" ,rust-ref-cast-1.0) - ("rust-rustversion" ,rust-rustversion-1.0) ("rust-trybuild" ,rust-trybuild-1.0)))) + ("rust-rustversion" ,rust-rustversion-1) (home-page "https://github.com/dtolnay/thiserror") (synopsis "derive(Error)") (description "This package provides @code{derive(Error)} in Rust.")