summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-24 09:12:13 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:58:30 +0200
commitf89bee159fb5324f12c9d22014e013ecd6a9acb7 (patch)
tree64a4f00df883579cb641819d2377763dd714436f /gnu/packages
parent87cca07d5aa8f265d9abf737a9d4b9bfe8321ab0 (diff)
downloadguix-f89bee159fb5324f12c9d22014e013ecd6a9acb7.tar.gz
gnu: Add rust-gix-diff-0.30.
* gnu/packages/crates-io.scm (rust-gix-diff-0.30): New variable.

Change-Id: I943cbc56fe9b53549fb25b00ad655fc5a50a99ce
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1f55999a1b..ac44f42c1a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29844,6 +29844,31 @@ libcurl, which is intended to be used with the @code{git2} crate.")
         ("rust-log" ,rust-log-0.4)
         ("rust-url" ,rust-url-2))))))
 
+(define-public rust-gix-diff-0.30
+  (package
+    (name "rust-gix-diff")
+    (version "0.30.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-diff" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0cqf3b2dypnd4hl1lwzj4sy8lfb6pdkbzczms95nla6chc0asach"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-getrandom" ,rust-getrandom-0.2)
+        ("rust-gix-hash" ,rust-gix-hash-0.11)
+        ("rust-gix-object" ,rust-gix-object-0.30)
+        ("rust-imara-diff" ,rust-imara-diff-0.1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/Byron/gitoxide")
+    (synopsis "Calculate differences between various git objects")
+    (description "Calculate differences between various git objects.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-discover-0.19
   (package
     (name "rust-gix-discover")