From 7f9a95d34ef9315f6c8632a0b56167e811aaf663 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 27 Mar 2024 10:23:33 +0200 Subject: [PATCH] gnu: Add rust-gix-diff-0.39. * gnu/packages/crates-vcs.scm (rust-gix-diff-0.39): New variable. (rust-gix-diff-0.38): Inherit from rust-gix-diff-0.39. Change-Id: Ibe22f1b4f68c328c13084af89723dfc5e9944831 --- gnu/packages/crates-vcs.scm | 43 +++++++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index f6e9050af7..7618738b8d 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -1538,8 +1538,43 @@ to interact with Git credentials helpers.") #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)))))) +(define-public rust-gix-diff-0.39 + (package + (name "rust-gix-diff") + (version "0.39.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-diff" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fmrkrs2d3sfkrr0k0mvglmhhz3igh2q9w772xpnhbf4z1a08spx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-filter" ,rust-gix-filter-0.8) + ("rust-gix-fs" ,rust-gix-fs-0.9) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-object" ,rust-gix-object-0.40) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-12) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-worktree" ,rust-gix-worktree-0.29) + ("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. This +package is a part of Gitoxide, a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-diff-0.38 (package + (inherit rust-gix-diff-0.39) (name "rust-gix-diff") (version "0.38.0") (source @@ -1549,7 +1584,6 @@ to interact with Git credentials helpers.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0pf88521djzb0gygr0idi1rqlxdwcjym2bprpps6izkwi22sj6c1")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-document-features" ,rust-document-features-0.2) @@ -1565,12 +1599,7 @@ to interact with Git credentials helpers.") ("rust-gix-worktree" ,rust-gix-worktree-0.28) ("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. This -package is a part of Gitoxide, a pure Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-diff-0.37 (package