gnu: Add rust-gix-worktree-state-0.4.

* gnu/packages/crates-vcs.scm (rust-gix-worktree-state-0.4): New variable.
(rust-gix-worktree-state-0.3): Inherit from rust-gix-worktree-state-0.4.

Change-Id: I54c75cd6e8fc15f3003ca6f1630314d2dde46e34
This commit is contained in:
Efraim Flashner 2024-01-03 10:13:57 +02:00
parent ee16c223db
commit c7de4f8fd6
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3869,8 +3869,42 @@ (define-public rust-gix-worktree-0.18
("rust-tempfile" ,rust-tempfile-3) ("rust-tempfile" ,rust-tempfile-3)
("rust-walkdir" ,rust-walkdir-2)))))) ("rust-walkdir" ,rust-walkdir-2))))))
(define-public rust-gix-worktree-state-0.4
(package
(name "rust-gix-worktree-state")
(version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "gix-worktree-state" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1m5y0qsf8r7sl6ffvi5ymd6497a5mb4k3pq31b072g5gvk6gr8il"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bstr" ,rust-bstr-1)
("rust-gix-features" ,rust-gix-features-0.36)
("rust-gix-filter" ,rust-gix-filter-0.6)
("rust-gix-fs" ,rust-gix-fs-0.8)
("rust-gix-glob" ,rust-gix-glob-0.14)
("rust-gix-hash" ,rust-gix-hash-0.13)
("rust-gix-index" ,rust-gix-index-0.26)
("rust-gix-object" ,rust-gix-object-0.38)
("rust-gix-path" ,rust-gix-path-0.10)
("rust-gix-worktree" ,rust-gix-worktree-0.27)
("rust-io-close" ,rust-io-close-0.3)
("rust-thiserror" ,rust-thiserror-1))))
(home-page "https://github.com/Byron/gitoxide")
(synopsis
"Gitoxide project functions that set Git's worktree to a particular state")
(description
"This package provides functions for setting the Git worktree to a particular
state. Used by Gitoxide a pure Rust implementation of Git.")
(license (list license:expat license:asl2.0))))
(define-public rust-gix-worktree-state-0.3 (define-public rust-gix-worktree-state-0.3
(package (package
(inherit rust-gix-worktree-state-0.4)
(name "rust-gix-worktree-state") (name "rust-gix-worktree-state")
(version "0.3.0") (version "0.3.0")
(source (source
@ -3880,7 +3914,6 @@ (define-public rust-gix-worktree-state-0.3
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "1bcpspxpvl8yybz8b0p64pjxb69b7kmkhsyv9jgarigjc1lv1bn3")))) (base32 "1bcpspxpvl8yybz8b0p64pjxb69b7kmkhsyv9jgarigjc1lv1bn3"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1)
("rust-gix-features" ,rust-gix-features-0.35) ("rust-gix-features" ,rust-gix-features-0.35)
@ -3893,14 +3926,7 @@ (define-public rust-gix-worktree-state-0.3
("rust-gix-path" ,rust-gix-path-0.10) ("rust-gix-path" ,rust-gix-path-0.10)
("rust-gix-worktree" ,rust-gix-worktree-0.26) ("rust-gix-worktree" ,rust-gix-worktree-0.26)
("rust-io-close" ,rust-io-close-0.3) ("rust-io-close" ,rust-io-close-0.3)
("rust-thiserror" ,rust-thiserror-1)))) ("rust-thiserror" ,rust-thiserror-1))))))
(home-page "https://github.com/Byron/gitoxide")
(synopsis
"Gitoxide project functions that set Git's worktree to a particular state")
(description
"This package provides functions for setting the Git worktree to a particular
state. Used by Gitoxide a pure Rust implementation of Git.")
(license (list license:expat license:asl2.0))))
(define-public rust-gix-worktree-stream-0.5 (define-public rust-gix-worktree-stream-0.5
(package (package