[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51662] [PATCH 5/7] gnu: Add rust-diffus-0.10.
From: |
Vinicius Monego |
Subject: |
[bug#51662] [PATCH 5/7] gnu: Add rust-diffus-0.10. |
Date: |
Sun, 7 Nov 2021 14:15:27 +0000 |
* 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
- [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 <=
- [bug#51662] [PATCH 2/7] gnu: Add rust-xmltree-0.10., Vinicius Monego, 2021/11/07
- [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