summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-19 16:03:14 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-23 17:25:58 +0200
commitafa0a59eb0b0feafcf4677c30b54bc5757bf4b98 (patch)
tree7c49a2ca2d8bb66a7c408e5e3ba38d90395580a9 /gnu/packages
parent9e12b6373c4b85072bdb31f0dae79e4fa2ffb170 (diff)
downloadguix-afa0a59eb0b0feafcf4677c30b54bc5757bf4b98.tar.gz
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 <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm14
1 files changed, 4 insertions, 10 deletions
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