summary refs log tree commit diff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2020-09-18 22:14:57 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2020-09-18 22:14:57 +0200
commit2345c39e6c3bc46b34d517e926bc9900dd6c32b5 (patch)
treea9424ada53763ee30ef734037ae86dd2d9449b6d
parent24bbc237416fe1a6ee9e2c78dcfdca5cdf51f225 (diff)
downloadguix-2345c39e6c3bc46b34d517e926bc9900dd6c32b5.tar.gz
gnu: Add rust-xmltree@0.8.0.
* gnu/packages/crates-io.scm (rust-xmltree-0.8): New variable.
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 68b9c34e77..a45793d8fa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30832,3 +30832,28 @@ formatters with per-field documentation generated for each structure.
 @end itemize")
     ;; User can choose either license.
     (license (list license:expat license:asl2.0))))
+
+(define-public rust-xmltree-0.8
+  (package
+    (name "rust-xmltree")
+    (version "0.8.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "xmltree" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0w0y0jz7lhxg05ca6ngfj0lj8sbrjh4vaqv13q7qaqkhs7lsx3pz"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-indexmap" ,rust-indexmap-1)
+         ("rust-xml-rs" ,rust-xml-rs-0.7))))
+    (home-page #f)
+    (synopsis
+      "Parse an XML file into a simple tree-like structure")
+    (description
+      "Parse an XML file into a simple tree-like structure")
+    (license license:expat)))