From afa0a59eb0b0feafcf4677c30b54bc5757bf4b98 Mon Sep 17 00:00:00 2001 From: Valentin Ignatev Date: Sun, 19 Jan 2020 16:03:14 +0300 Subject: gnu: rust-ref-cast-impl-0.2: Inherit from rust-ref-cast-impl-1.0. * gnu/packages/crates-io.scm (rust-ref-cast-impl-0.2): Inherit from rust-ref-cast-impl-1.0. [arugments]: Skip build. Replace rust-quote-1.0 with 0.6 in cargo-inputs. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 27474a9da6..57bccf81d5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11505,6 +11505,7 @@ functionality.") (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") (source @@ -11516,18 +11517,11 @@ functionality.") (sha256 (base32 "0hw0frpzna5rf5szix56zyzd0vackcb3svj94ndj629xi75dkb32")))) - (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-0.4) - ("rust-quote" ,rust-quote-1.0) - ("rust-syn" ,rust-syn-0.15)))) - (home-page "https://github.com/dtolnay/ref-cast") - (synopsis "Derive implementation for @code{ref_cast::RefCast}") - (description - "Derive implementation for ref_cast::RefCast.") - (license (list license:asl2.0 license:expat)))) + ("rust-quote" ,rust-quote-0.6) + ("rust-syn" ,rust-syn-0.15)))))) (define-public rust-regex-1.3 (package -- cgit v1.2.3