summary refs log tree commit diff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2021-08-08 14:44:20 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2021-08-08 14:49:21 +0200
commit3e48d8c4819514e4c6adb1467d94ef1de6edfad0 (patch)
treedd548d6f0473aa9f12b8951eba7ac815ab6d5a69
parentf28128626cde46a9c5884cb7155de802827453d2 (diff)
downloadguix-3e48d8c4819514e4c6adb1467d94ef1de6edfad0.tar.gz
gnu: svd2rust: Update to 0.19.0.
* gnu/packages/crates-io.scm (svd2rust): Update to 0.19.0.
[arguments]<#:cargo-inputs]: Add rust-anyhow, rust-clap-conf, rust-thiserror.
Remove rust-error-chain.
-rw-r--r--gnu/packages/crates-io.scm12
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d80e6e58d7..24cc772ba7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56941,7 +56941,7 @@ variant of this library is available separately as @code{im}.")
 (define-public svd2rust
   (package
     (name "svd2rust")
-    (version "0.17.0")
+    (version "0.19.0")
     (source
       (origin
         (method url-fetch)
@@ -56950,20 +56950,22 @@ variant of this library is available separately as @code{im}.")
           (string-append name "-" version ".tar.gz"))
         (sha256
           (base32
-            "0850pn92a5pmrlavdsm4s9wgrgx9gz0vylf9i594nj8sixmddjd9"))))
+            "0q8slfgjfhpljzlk2myb0i538mfq99q1ljn398jm17r1q2pjjxhv"))))
     (build-system cargo-build-system)
     (arguments
       `(#:cargo-inputs
-        (("rust-cast" ,rust-cast-0.2)
+        (("rust-anyhow" ,rust-anyhow-1)
+         ("rust-cast" ,rust-cast-0.2)
          ("rust-clap" ,rust-clap-2)
+         ("rust-clap-conf" ,rust-clap-conf-0.1)
          ("rust-env-logger" ,rust-env-logger-0.7)
-         ("rust-error-chain" ,rust-error-chain-0.12)
          ("rust-inflections" ,rust-inflections-1)
          ("rust-log" ,rust-log-0.4)
          ("rust-proc-macro2" ,rust-proc-macro2-0.4)
          ("rust-quote" ,rust-quote-1)
          ("rust-svd-parser" ,rust-svd-parser-0.9)
-         ("rust-syn" ,rust-syn-1))))
+         ("rust-syn" ,rust-syn-1)
+         ("rust-thiserror" ,rust-thiserror-1))))
     (home-page #f)
     (synopsis
       "Generate Rust register maps (`struct`s) from SVD files")