[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51662] [PATCH 2/7] gnu: Add rust-xmltree-0.10.
From: |
Vinicius Monego |
Subject: |
[bug#51662] [PATCH 2/7] gnu: Add rust-xmltree-0.10. |
Date: |
Sun, 7 Nov 2021 14:15:24 +0000 |
* gnu/packages/crates-io.scm (rust-xmltree-0.10): New variable.
(rust-xmltree-0.8): Inherit from above.
---
gnu/packages/crates-io.scm | 52 +++++++++++++++++++++++++-------------
1 file changed, 34 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bdf5627c0c..d79bc8676d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60655,31 +60655,47 @@ formatters with per-field documentation generated for
each structure.
configuration file and/or environment variables.")
(license (list license:expat license:asl2.0))))
-(define-public rust-xmltree-0.8
+(define-public rust-xmltree-0.10
(package
(name "rust-xmltree")
- (version "0.8.0")
+ (version "0.10.3")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "xmltree" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0w0y0jz7lhxg05ca6ngfj0lj8sbrjh4vaqv13q7qaqkhs7lsx3pz"))))
+ (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.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")
+ `(#: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
+ (package
+ (inherit rust-xmltree-0.10)
+ (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"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-indexmap" ,rust-indexmap-1)
+ ("rust-xml-rs" ,rust-xml-rs-0.7))))))
+
(define-public rust-svd-parser-0.9
(package
(name "rust-svd-parser")
--
2.30.2
- [bug#51662] [PATCH 0/7] More crates for NewsFlash., Vinicius Monego, 2021/11/07
- [bug#51662] [PATCH 1/7] gnu: Add rust-color-backtrace-0.5., Vinicius Monego, 2021/11/07
- [bug#51662] [PATCH 4/7] gnu: Add rust-diffus-derive-0.10., Vinicius Monego, 2021/11/07
- [bug#51662] [PATCH 3/7] gnu: Add rust-snake-case-0.3., Vinicius Monego, 2021/11/07
- [bug#51662] [PATCH 5/7] gnu: Add rust-diffus-0.10., Vinicius Monego, 2021/11/07
- [bug#51662] [PATCH 2/7] gnu: Add rust-xmltree-0.10.,
Vinicius Monego <=
- [bug#51662] [PATCH 6/7] gnu: Add rust-log-mdc-0.1., Vinicius Monego, 2021/11/07
- [bug#51662] [PATCH 7/7] gnu: Add rust-log4rs-1., Vinicius Monego, 2021/11/07
- bug#51662: [PATCH 0/7] More crates for NewsFlash., Efraim Flashner, 2021/11/07