summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-02-29 21:15:17 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-02-29 22:46:09 +0200
commitec395e70cb609bac07fb0eb274728e56bc87ad45 (patch)
treee3d27045fe65e38841aad961dde35ca8ad53f37a /gnu/packages
parentdd19668e31abea7164b2509796d81f8162b6a0df (diff)
downloadguix-ec395e70cb609bac07fb0eb274728e56bc87ad45.tar.gz
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm21
1 files 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 @@ functionality.")
 (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 @@ functionality.")
         (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 @@ functionality.")
   (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 @@ functionality.")
         (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