gnu: Add rust-gix-lock-12.

* gnu/packages/crates-vcs.scm (rust-gix-lock-12): New variable.
(rust-gix-lock-11): Inherit from rust-gix-lock-12.

Change-Id: I6d79aebe3a31bb25b4deade6545a014f57ac74f8
This commit is contained in:
Efraim Flashner 2024-03-27 10:17:14 +02:00
parent b7ddd8b3d7
commit 9e1aeb3d43
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2356,8 +2356,32 @@ (define-public rust-gix-index-0.17
("rust-smallvec" ,rust-smallvec-1)
("rust-thiserror" ,rust-thiserror-1))))))
(define-public rust-gix-lock-12
(package
(name "rust-gix-lock")
(version "12.0.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "gix-lock" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "001bh0yx1xnkhnbkfj3p3v649sp5hypm4pgq9jsk1qpijy9l62pl"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-gix-tempfile" ,rust-gix-tempfile-12)
("rust-gix-utils" ,rust-gix-utils-0.1)
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/Byron/gitoxide")
(synopsis "Git style lock files implemented in Rust")
(description "Part of Gitoxide, a pure rust implementation of Git. This
package provides git style lock files.")
(license (list license:expat license:asl2.0))))
(define-public rust-gix-lock-11
(package
(inherit rust-gix-lock-12)
(name "rust-gix-lock")
(version "11.0.1")
(source
@ -2367,17 +2391,11 @@ (define-public rust-gix-lock-11
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0drgl9qhkvlhjl0jc0lh2h7h3by1yg9wx4a8cqss8c4qlbk6ap3y"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-gix-tempfile" ,rust-gix-tempfile-11)
("rust-gix-utils" ,rust-gix-utils-0.1)
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/Byron/gitoxide")
(synopsis "Git style lock files implemented in Rust")
(description "Part of Gitoxide, a pure rust implementation of Git. This
package provides git style lock files.")
(license (list license:expat license:asl2.0))))
#:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-gix-lock-10
(package