gnu: Add rust-gix-attributes-0.22.

* gnu/packages/crates-vcs.scm (rust-gix-attributes-0.22): New variable.
(rust-gix-attributes-0.21): Inherit from rust-gix-attributes-0.22.

Change-Id: Icdc10b6f4573e3ea1e8dcbf652fd35cb6a1e8250
This commit is contained in:
Steve George 2024-10-02 18:24:45 +01:00 committed by Efraim Flashner
parent 4605655199
commit 376e0ce836
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1184,8 +1184,41 @@ package provides a way to identify Git actors.")
("rust-time" ,rust-time-0.3)
("rust-zip" ,rust-zip-0.6))))))
(define-public rust-gix-attributes-0.22
(package
(name "rust-gix-attributes")
(version "0.22.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "gix-attributes" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "048k2c9kgh6bv7d1d2iyca8cmvb9mw090jjnab9kv5sam8jvzk7b"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bstr" ,rust-bstr-1)
("rust-document-features" ,rust-document-features-0.2)
("rust-gix-glob" ,rust-gix-glob-0.16)
("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-kstring" ,rust-kstring-2)
("rust-serde" ,rust-serde-1)
("rust-smallvec" ,rust-smallvec-1)
("rust-thiserror" ,rust-thiserror-1)
("rust-unicode-bom" ,rust-unicode-bom-2))))
(home-page "https://github.com/Byron/gitoxide")
(synopsis "Part of Gitoxide, this crate deals with .gitattributes")
(description
"This package provides a crate from the Gitoxide project dealing with
@code{.gitattributes} files.")
(license (list license:expat license:asl2.0))))
(define-public rust-gix-attributes-0.21
(package
(inherit rust-gix-attributes-0.22)
(name "rust-gix-attributes")
(version "0.21.1")
(source
@ -1207,13 +1240,7 @@ package provides a way to identify Git actors.")
("rust-serde" ,rust-serde-1)
("rust-smallvec" ,rust-smallvec-1)
("rust-thiserror" ,rust-thiserror-1)
("rust-unicode-bom" ,rust-unicode-bom-2))))
(home-page "https://github.com/Byron/gitoxide")
(synopsis "Part of Gitoxide, this crates deals with .gitattributes")
(description
"This package provides a crate from the Gitoxide project dealing with
@code{.gitattributes} files.")
(license (list license:expat license:asl2.0))))
("rust-unicode-bom" ,rust-unicode-bom-2))))))
(define-public rust-gix-attributes-0.20
(package