* [bug#51662] [PATCH 2/7] gnu: Add rust-xmltree-0.10.
2021-11-07 14:15 ` [bug#51662] [PATCH 1/7] gnu: Add rust-color-backtrace-0.5 Vinicius Monego
@ 2021-11-07 14:15 ` Vinicius Monego
2021-11-07 14:15 ` [bug#51662] [PATCH 3/7] gnu: Add rust-snake-case-0.3 Vinicius Monego
` (4 subsequent siblings)
5 siblings, 0 replies; 9+ messages in thread
From: Vinicius Monego @ 2021-11-07 14:15 UTC (permalink / raw)
To: 51662; +Cc: Vinicius Monego
* 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
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#51662] [PATCH 3/7] gnu: Add rust-snake-case-0.3.
2021-11-07 14:15 ` [bug#51662] [PATCH 1/7] gnu: Add rust-color-backtrace-0.5 Vinicius Monego
2021-11-07 14:15 ` [bug#51662] [PATCH 2/7] gnu: Add rust-xmltree-0.10 Vinicius Monego
@ 2021-11-07 14:15 ` Vinicius Monego
2021-11-07 14:15 ` [bug#51662] [PATCH 4/7] gnu: Add rust-diffus-derive-0.10 Vinicius Monego
` (3 subsequent siblings)
5 siblings, 0 replies; 9+ messages in thread
From: Vinicius Monego @ 2021-11-07 14:15 UTC (permalink / raw)
To: 51662; +Cc: Vinicius Monego
* gnu/packages/crates-io.scm (rust-snake-case-0.3): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d79bc8676d..b583e8b8aa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47844,6 +47844,29 @@ More importantly, this library also provides the ability to un-escape a given
escaped text to recover the original string.")
(license license:gpl3)))
+(define-public rust-snake-case-0.3
+ (package
+ (name "rust-snake-case")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "snake-case" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1v4f132rk9wxiw8hb3kgnixirzr8kbfhg2lgsf4b85vbg02a0jfn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:rust ,rust-1.52 ; fix for E0658
+ #:cargo-inputs (("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/emilk/snake_case")
+ (synopsis "String-like type that only contains non-empty snake_case")
+ (description
+ "This package provides a String-like type that can only contain valid
+non-empty snake_case.")
+ (license license:expat)))
+
(define-public rust-snap-1
(package
(name "rust-snap")
--
2.30.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#51662] [PATCH 4/7] gnu: Add rust-diffus-derive-0.10.
2021-11-07 14:15 ` [bug#51662] [PATCH 1/7] gnu: Add rust-color-backtrace-0.5 Vinicius Monego
2021-11-07 14:15 ` [bug#51662] [PATCH 2/7] gnu: Add rust-xmltree-0.10 Vinicius Monego
2021-11-07 14:15 ` [bug#51662] [PATCH 3/7] gnu: Add rust-snake-case-0.3 Vinicius Monego
@ 2021-11-07 14:15 ` Vinicius Monego
2021-11-07 14:15 ` [bug#51662] [PATCH 5/7] gnu: Add rust-diffus-0.10 Vinicius Monego
` (2 subsequent siblings)
5 siblings, 0 replies; 9+ messages in thread
From: Vinicius Monego @ 2021-11-07 14:15 UTC (permalink / raw)
To: 51662; +Cc: Vinicius Monego
* gnu/packages/crates-io.scm (rust-diffus-derive-0.10): New variable.
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b583e8b8aa..ee513a345f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14362,6 +14362,30 @@ common subsequence. The diff algorithms include Myer's diff and Patience
diff.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-diffus-derive-0.10
+ (package
+ (name "rust-diffus-derive")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "diffus-derive" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1a7sgbzhqa7gk3xhvkci91myc86gkwxs04vfxbl8f64y7l1jsfmr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/distil/diffus")
+ (synopsis "Diff two instances of any data structure")
+ (description "This package finds the difference between two instances of
+any data structure. Supports derive on structs and enums.")
+ (license license:asl2.0)))
+
(define-public rust-digest-0.9
(package
(name "rust-digest")
--
2.30.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#51662] [PATCH 5/7] gnu: Add rust-diffus-0.10.
2021-11-07 14:15 ` [bug#51662] [PATCH 1/7] gnu: Add rust-color-backtrace-0.5 Vinicius Monego
` (2 preceding siblings ...)
2021-11-07 14:15 ` [bug#51662] [PATCH 4/7] gnu: Add rust-diffus-derive-0.10 Vinicius Monego
@ 2021-11-07 14:15 ` Vinicius Monego
2021-11-07 14:15 ` [bug#51662] [PATCH 6/7] gnu: Add rust-log-mdc-0.1 Vinicius Monego
2021-11-07 14:15 ` [bug#51662] [PATCH 7/7] gnu: Add rust-log4rs-1 Vinicius Monego
5 siblings, 0 replies; 9+ messages in thread
From: Vinicius Monego @ 2021-11-07 14:15 UTC (permalink / raw)
To: 51662; +Cc: Vinicius Monego
* gnu/packages/crates-io.scm (rust-diffus-0.10): 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 ee513a345f..1853409b61 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14362,6 +14362,35 @@ common subsequence. The diff algorithms include Myer's diff and Patience
diff.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-diffus-0.10
+ (package
+ (name "rust-diffus")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "diffus" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0lsn5h1mfa8x7bfg9yqgr52p7drigpwgm5q8qh4r07dmfd5g43rw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:rust ,rust-1.52 ; fix for E0658
+ #:cargo-inputs
+ (("rust-diffus-derive" ,rust-diffus-derive-0.10)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-snake-case" ,rust-snake-case-0.3)
+ ("rust-uuid" ,rust-uuid-0.8))))
+ (home-page "https://github.com/distil/diffus")
+ (synopsis "Diff two instances of any data structure")
+ (description "This package finds the difference between two instances of
+any data structure. It supports: collections, Strings, Maps etc. Uses LC
+where applicable. Also supports derive via `diffus-derive`.")
+ (license license:asl2.0)))
+
(define-public rust-diffus-derive-0.10
(package
(name "rust-diffus-derive")
--
2.30.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#51662] [PATCH 6/7] gnu: Add rust-log-mdc-0.1.
2021-11-07 14:15 ` [bug#51662] [PATCH 1/7] gnu: Add rust-color-backtrace-0.5 Vinicius Monego
` (3 preceding siblings ...)
2021-11-07 14:15 ` [bug#51662] [PATCH 5/7] gnu: Add rust-diffus-0.10 Vinicius Monego
@ 2021-11-07 14:15 ` Vinicius Monego
2021-11-07 14:15 ` [bug#51662] [PATCH 7/7] gnu: Add rust-log4rs-1 Vinicius Monego
5 siblings, 0 replies; 9+ messages in thread
From: Vinicius Monego @ 2021-11-07 14:15 UTC (permalink / raw)
To: 51662; +Cc: Vinicius Monego
* gnu/packages/crates-io.scm (rust-log-mdc-0.1): New variable.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1853409b61..a73f7e9f60 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26960,6 +26960,25 @@ by inspecting the system for user preference.")
`(#:cargo-inputs
(("rust-log" ,rust-log-0.4))))))
+(define-public rust-log-mdc-0.1
+ (package
+ (name "rust-log-mdc")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "log-mdc" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1iw1x3qhjvrac35spikn5h06a1rxd9vw216jk8h52jhz9i0j2kd9"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/sfackler/rust-log-mdc")
+ (synopsis "Mapped diagnostic context (MDC) for use with the `log` crate")
+ (description "This package provides a mapped diagnostic context (MDC) for
+use with the `log` crate.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-logtest-2
(package
(name "rust-logtest")
--
2.30.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#51662] [PATCH 7/7] gnu: Add rust-log4rs-1.
2021-11-07 14:15 ` [bug#51662] [PATCH 1/7] gnu: Add rust-color-backtrace-0.5 Vinicius Monego
` (4 preceding siblings ...)
2021-11-07 14:15 ` [bug#51662] [PATCH 6/7] gnu: Add rust-log-mdc-0.1 Vinicius Monego
@ 2021-11-07 14:15 ` Vinicius Monego
5 siblings, 0 replies; 9+ messages in thread
From: Vinicius Monego @ 2021-11-07 14:15 UTC (permalink / raw)
To: 51662; +Cc: Vinicius Monego
* gnu/packages/crates-io.scm (rust-log4rs-1): New variable.
---
gnu/packages/crates-io.scm | 49 ++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a73f7e9f60..4ccf463e23 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26979,6 +26979,55 @@ by inspecting the system for user preference.")
use with the `log` crate.")
(license (list license:expat license:asl2.0))))
+(define-public rust-log4rs-1
+ (package
+ (name "rust-log4rs")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "log4rs" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04d21kkb6if7hly0syp64m15a9695fpfgvlnff3gy58i1n42lmyi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; 37 passed, 1 failed
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-arc-swap" ,rust-arc-swap-0.4)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-derivative" ,rust-derivative-2)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-fnv" ,rust-fnv-1)
+ ("rust-humantime" ,rust-humantime-2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-log-mdc" ,rust-log-mdc-0.1)
+ ("rust-parking-lot" ,rust-parking-lot-0.11)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-value" ,rust-serde-value-0.7)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-yaml" ,rust-serde-yaml-0.8)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-thread-id" ,rust-thread-id-3)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-typemap" ,rust-typemap-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-humantime" ,rust-humantime-2)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-streaming-stats"
+ ,rust-streaming-stats-0.2)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/estk/log4rs")
+ (synopsis "Highly configurable logging implementation")
+ (description "This package provides a highly configurable multi-output
+logging implementation for the `log` facade.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-logtest-2
(package
(name "rust-logtest")
--
2.30.2
^ permalink raw reply related [flat|nested] 9+ messages in thread