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
This commit is contained in:
Efraim Flashner 2024-03-27 10:23:33 +02:00
parent 067ceed369
commit 7f9a95d34e
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1538,8 +1538,43 @@ (define-public rust-gix-date-0.5
#: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 @@ (define-public rust-gix-diff-0.38
(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 @@ (define-public rust-gix-diff-0.38
("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