summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2021-11-07 14:15:26 +0000
committerEfraim Flashner <efraim@flashner.co.il>2021-11-07 22:28:43 +0200
commit38912f139ff08569ce7d1806ee055de104cd0879 (patch)
tree65092a91bbb4456108a8bf9d03bbecfcd8de1499 /gnu/packages/crates-io.scm
parent551e39ccb1a4a7449aee08fb178a3929e7e47406 (diff)
downloadguix-38912f139ff08569ce7d1806ee055de104cd0879.tar.gz
gnu: Add rust-diffus-derive-0.10.
* gnu/packages/crates-io.scm (rust-diffus-derive-0.10): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
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")