gnu: rust-toml-0.5: Update to 0.5.6.
authorJohn Soo <jsoo1@asu.edu>
Wed, 15 Jan 2020 17:31:56 +0000 (09:31 -0800)
committerEfraim Flashner <efraim@flashner.co.il>
Mon, 20 Jan 2020 14:45:04 +0000 (16:45 +0200)
* gnu/packages/crates-io.scm (rust-toml-0.5): Update to 0.5.6.
[arguments]: Skip build. Add rust-indexmap-1.0, rust-serde-1.0 to
cargo-inputs. Add rust-serde-derive-1.0, rust-serde-json-1.0 to
cargo-development-inputs.
[properties]: Remove field.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
gnu/packages/crates-io.scm

index e411d11..a65207e 100644 (file)
@@ -11339,7 +11339,7 @@ pool.")
 (define-public rust-toml-0.5
   (package
     (name "rust-toml")
-    (version "0.5.3")
+    (version "0.5.6")
     (source
       (origin
         (method url-fetch)
@@ -11347,8 +11347,16 @@ pool.")
         (file-name (string-append name "-" version ".crate"))
         (sha256
          (base32
-          "093p48vpqm4bb8q3514xsij0dkljxlr3jp9ypxr4p48xjisvxan7"))))
+          "06n7j8z63hj6g0kj2x6sqwxnm4q3s0q5d873bdk41vqy1cb2vjgz"))))
     (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+        (("rust-indexmap" ,rust-indexmap-1.0)
+         ("rust-serde" ,rust-serde-1.0))
+        #:cargo-development-inputs
+        (("rust-serde-derive" ,rust-serde-derive-1.0)
+         ("rust-serde-json" ,rust-serde-json-1.0))))
     (home-page "https://github.com/alexcrichton/toml-rs")
     (synopsis "Rust encoder and decoder of TOML-formatted files and streams")
     (description
@@ -11356,7 +11364,6 @@ pool.")
 files and streams.  Provides implementations of the standard
 Serialize/Deserialize traits for TOML data to facilitate deserializing and
 serializing Rust structures.")
-    (properties '((hidden? . #t)))
     (license (list license:asl2.0
                    license:expat))))