gnu: Add rust-xmltree-0.10.

* gnu/packages/crates-io.scm (rust-xmltree-0.10): New variable.
(rust-xmltree-0.8): Inherit from above.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Vinicius Monego 2021-11-07 14:15:24 +00:00 committed by Efraim Flashner
parent 9bf3bc8418
commit cd968c83aa
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -60655,8 +60655,32 @@ (define-public rust-ptree-0.3
configuration file and/or environment variables.") configuration file and/or environment variables.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-xmltree-0.10
(package
(name "rust-xmltree")
(version "0.10.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "xmltree" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "1jqzwhr1a5cknflsshhhjlllmd1xi04qdkjsls2bnmv5mxgagn6p"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-indexmap" ,rust-indexmap-1)
("rust-xml-rs" ,rust-xml-rs-0.8))))
(home-page "https://github.com/eminence/xmltree-rs")
(synopsis "Parse an XML file into a simple tree-like structure")
(description "This package provides a small library for parsing an XML
file into an in-memory tree structure.")
(license license:expat)))
(define-public rust-xmltree-0.8 (define-public rust-xmltree-0.8
(package (package
(inherit rust-xmltree-0.10)
(name "rust-xmltree") (name "rust-xmltree")
(version "0.8.0") (version "0.8.0")
(source (source
@ -60666,19 +60690,11 @@ (define-public rust-xmltree-0.8
(file-name (file-name
(string-append name "-" version ".tar.gz")) (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32 "0w0y0jz7lhxg05ca6ngfj0lj8sbrjh4vaqv13q7qaqkhs7lsx3pz"))))
"0w0y0jz7lhxg05ca6ngfj0lj8sbrjh4vaqv13q7qaqkhs7lsx3pz"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-indexmap" ,rust-indexmap-1) (("rust-indexmap" ,rust-indexmap-1)
("rust-xml-rs" ,rust-xml-rs-0.7)))) ("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)))
(define-public rust-svd-parser-0.9 (define-public rust-svd-parser-0.9
(package (package