gnu: Add rust-gix-filter-0.8.

* gnu/packages/crates-vcs.scm (rust-gix-filter-0.8): New variable.
(rust-gix-filter-0.7): Inherit from rust-gix-filter-0.8.

Change-Id: I6df2d5ad963c694c1c1a7e9f58cb8350b5cc8876
This commit is contained in:
Efraim Flashner 2024-03-27 10:20:14 +02:00
parent 087b723e90
commit ff91798d28
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1850,8 +1850,43 @@ (define-public rust-gix-features-0.30
#:cargo-development-inputs #:cargo-development-inputs
(("rust-bstr" ,rust-bstr-1)))))) (("rust-bstr" ,rust-bstr-1))))))
(define-public rust-gix-filter-0.8
(package
(name "rust-gix-filter")
(version "0.8.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "gix-filter" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "05p5yr0syd91k0yfn6pdqw66yvbq7q6ffzpd53s5g7dzi3bc367m"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bstr" ,rust-bstr-1)
("rust-encoding-rs" ,rust-encoding-rs-0.8)
("rust-gix-attributes" ,rust-gix-attributes-0.21)
("rust-gix-command" ,rust-gix-command-0.3)
("rust-gix-hash" ,rust-gix-hash-0.14)
("rust-gix-object" ,rust-gix-object-0.40)
("rust-gix-packetline-blocking" ,rust-gix-packetline-blocking-0.17)
("rust-gix-path" ,rust-gix-path-0.10)
("rust-gix-quote" ,rust-gix-quote-0.4)
("rust-gix-trace" ,rust-gix-trace-0.1)
("rust-gix-utils" ,rust-gix-utils-0.1)
("rust-smallvec" ,rust-smallvec-1)
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs (("rust-serial-test" ,rust-serial-test-2))))
(home-page "https://github.com/Byron/gitoxide")
(synopsis "Part of Gitoxide, this package implements Git filters in Rust")
(description
"This package provides a crate from the Gitoxide project implementing
Git filters in Rust.")
(license (list license:expat license:asl2.0))))
(define-public rust-gix-filter-0.7 (define-public rust-gix-filter-0.7
(package (package
(inherit rust-gix-filter-0.8)
(name "rust-gix-filter") (name "rust-gix-filter")
(version "0.7.0") (version "0.7.0")
(source (source
@ -1861,7 +1896,6 @@ (define-public rust-gix-filter-0.7
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "1w1bgvzr9yjrh00ba2325lwy32x2r4crr496qbkn9hsmisfmqskd")))) (base32 "1w1bgvzr9yjrh00ba2325lwy32x2r4crr496qbkn9hsmisfmqskd"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1)
("rust-encoding-rs" ,rust-encoding-rs-0.8) ("rust-encoding-rs" ,rust-encoding-rs-0.8)
@ -1876,13 +1910,7 @@ (define-public rust-gix-filter-0.7
("rust-gix-utils" ,rust-gix-utils-0.1) ("rust-gix-utils" ,rust-gix-utils-0.1)
("rust-smallvec" ,rust-smallvec-1) ("rust-smallvec" ,rust-smallvec-1)
("rust-thiserror" ,rust-thiserror-1)) ("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)))) #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1))))))
(home-page "https://github.com/Byron/gitoxide")
(synopsis "Part of Gitoxide, this package implements Git filters in Rust")
(description
"This package provides a crate from the Gitoxide project implementing
Git filters in Rust.")
(license (list license:expat license:asl2.0))))
(define-public rust-gix-filter-0.6 (define-public rust-gix-filter-0.6
(package (package