guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/06: gnu: Add rust-svd-parser@0.9.0.


From: guix-commits
Subject: 04/06: gnu: Add rust-svd-parser@0.9.0.
Date: Fri, 18 Sep 2020 16:18:50 -0400 (EDT)

dannym pushed a commit to branch master
in repository guix.

commit 54f1f72c4390477bebbece1c9beb3065e94fe13a
Author: Danny Milosavljevic <dannym@scratchpost.org>
AuthorDate: Fri Sep 18 22:15:48 2020 +0200

    gnu: Add rust-svd-parser@0.9.0.
    
    * gnu/packages/crates-io.scm (rust-svd-parser-0.9): New variable.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a45793d..218c53c 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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]