aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2020-09-18 22:15:48 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2020-09-18 22:15:48 +0200
commit54f1f72c4390477bebbece1c9beb3065e94fe13a (patch)
tree1458c40486488286c5c9add0855f38c08d953f03
parent2345c39e6c3bc46b34d517e926bc9900dd6c32b5 (diff)
downloadguix-54f1f72c4390477bebbece1c9beb3065e94fe13a.tar
guix-54f1f72c4390477bebbece1c9beb3065e94fe13a.tar.gz
gnu: Add rust-svd-parser@0.9.0.
* gnu/packages/crates-io.scm (rust-svd-parser-0.9): New variable.
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a45793d8fa..218c53c416 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30857,3 +30857,32 @@ formatters with per-field documentation generated for each structure.
(description
"Parse an XML file into a simple tree-like structure")
(license license:expat)))
+
+(define-public rust-svd-parser-0.9
+ (package
+ (name "rust-svd-parser")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "svd-parser" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1qhvdz3k76i3sfypcy8c84hhb8sqixrckba21kalzcpgy6an45ml"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1.0)
+ ("rust-either" ,rust-either-1.5)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-thiserror" ,rust-thiserror-1.0)
+ ("rust-xmltree" ,rust-xmltree-0.8))
+ #:cargo-development-inputs
+ (("rust-serde-json" ,rust-serde-json-1))))
+ (home-page #f)
+ (synopsis "A CMSIS-SVD file parser")
+ (description
+ "This package provides a CMSIS-SVD file parser")
+ (license (list license:expat license:asl2.0))))