gnu: Add rust-gix-worktree-stream-0.7.

* gnu/packages/crates-vcs.scm (rust-gix-worktree-stream-0.7): New
variable.
(rust-gix-worktree-stream-0.6): Inherit from
rust-gix-worktree-stream-0.7.

Change-Id: I10f0da8009857b98ab535f632478f2cab9906fad
This commit is contained in:
Efraim Flashner 2024-03-11 14:01:35 +02:00
parent 6718b63ae4
commit 3280deb115
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4644,8 +4644,38 @@ (define-public rust-gix-worktree-state-0.3
("rust-io-close" ,rust-io-close-0.3)
("rust-thiserror" ,rust-thiserror-1))))))
(define-public rust-gix-worktree-stream-0.7
(package
(name "rust-gix-worktree-stream")
(version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "gix-worktree-stream" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0v0hcsljsiw2c3vcjc5gvgd4iyw9m84h5cpc1fh960fkkqk3qy1w"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-gix-attributes" ,rust-gix-attributes-0.20)
("rust-gix-features" ,rust-gix-features-0.36)
("rust-gix-filter" ,rust-gix-filter-0.7)
("rust-gix-fs" ,rust-gix-fs-0.8)
("rust-gix-hash" ,rust-gix-hash-0.13)
("rust-gix-object" ,rust-gix-object-0.39)
("rust-gix-path" ,rust-gix-path-0.10)
("rust-gix-traverse" ,rust-gix-traverse-0.35)
("rust-parking-lot" ,rust-parking-lot-0.12)
("rust-thiserror" ,rust-thiserror-1))))
(home-page "https://github.com/Byron/gitoxide")
(synopsis "This crate generates a byte-stream from a git-tree")
(description "This crate provides the ability to generate a byte-stream
from a git-tree. It's part of Gitoxide, a pure Rust implementation of Git.")
(license (list license:expat license:asl2.0))))
(define-public rust-gix-worktree-stream-0.6
(package
(inherit rust-gix-worktree-stream-0.7)
(name "rust-gix-worktree-stream")
(version "0.6.0")
(source
@ -4655,7 +4685,6 @@ (define-public rust-gix-worktree-stream-0.6
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0b5gf6pq9ypxhg0x9dj9b1agrhbj7rz64r10d0kp6d69z2v38jzf"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; using undeclared crates gix_worktree/gix_testtools
#:cargo-inputs (("rust-gix-attributes" ,rust-gix-attributes-0.20)
@ -4667,12 +4696,7 @@ (define-public rust-gix-worktree-stream-0.6
("rust-gix-path" ,rust-gix-path-0.10)
("rust-gix-traverse" ,rust-gix-traverse-0.34)
("rust-parking-lot" ,rust-parking-lot-0.12)
("rust-thiserror" ,rust-thiserror-1))))
(home-page "https://github.com/Byron/gitoxide")
(synopsis "This crate generates a byte-stream from a git-tree")
(description "This crate provides the ability to generate a byte-stream
from a git-tree. It's 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-worktree-stream-0.5
(package