gnu: Add rust-gix-tempfile-14.

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

Change-Id: Ia402e3b320486be0de5c6b8768238fc03a5f6605
This commit is contained in:
Steve George 2024-10-03 08:12:13 +01:00 committed by Efraim Flashner
parent bce0a37086
commit d0f77cc2b5
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -5124,8 +5124,40 @@ implementation of Git.")
("rust-gix-url" ,rust-gix-url-0.24) ("rust-gix-url" ,rust-gix-url-0.24)
("rust-thiserror" ,rust-thiserror-1)))))) ("rust-thiserror" ,rust-thiserror-1))))))
(define-public rust-gix-tempfile-14
(package
(name "rust-gix-tempfile")
(version "14.0.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "gix-tempfile" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1ah8y51fbx6x9m71ihxk3zhny0c05kka5kd0a2hida4zjqkljsq4"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-dashmap" ,rust-dashmap-6)
("rust-document-features" ,rust-document-features-0.2)
("rust-gix-fs" ,rust-gix-fs-0.11)
("rust-libc" ,rust-libc-0.2)
("rust-once-cell" ,rust-once-cell-1)
("rust-parking-lot" ,rust-parking-lot-0.12)
("rust-signal-hook" ,rust-signal-hook-0.3)
("rust-signal-hook-registry" ,rust-signal-hook-registry-1)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/Byron/gitoxide")
(synopsis
"Rust tempfile implementation with assured cleanup")
(description
"Part of Gitoxide a Rust implementation of Git. This package provides a
tempfile capability with a global registry to assure clean-up.")
(license (list license:expat license:asl2.0))))
(define-public rust-gix-tempfile-12 (define-public rust-gix-tempfile-12
(package (package
(inherit rust-gix-tempfile-14)
(name "rust-gix-tempfile") (name "rust-gix-tempfile")
(version "12.0.1") (version "12.0.1")
(source (source
@ -5135,7 +5167,6 @@ implementation of Git.")
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "1aiypbizzx997lw8yvz2sk4nnmxz1yq233j5kc8my7wbf5nkgvx8")))) (base32 "1aiypbizzx997lw8yvz2sk4nnmxz1yq233j5kc8my7wbf5nkgvx8"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs (("rust-dashmap" ,rust-dashmap-5) `(#:cargo-inputs (("rust-dashmap" ,rust-dashmap-5)
("rust-document-features" ,rust-document-features-0.2) ("rust-document-features" ,rust-document-features-0.2)
@ -5145,13 +5176,7 @@ implementation of Git.")
("rust-parking-lot" ,rust-parking-lot-0.12) ("rust-parking-lot" ,rust-parking-lot-0.12)
("rust-signal-hook" ,rust-signal-hook-0.3) ("rust-signal-hook" ,rust-signal-hook-0.3)
("rust-signal-hook-registry" ,rust-signal-hook-registry-1) ("rust-signal-hook-registry" ,rust-signal-hook-registry-1)
("rust-tempfile" ,rust-tempfile-3)))) ("rust-tempfile" ,rust-tempfile-3))))))
(home-page "https://github.com/Byron/gitoxide")
(synopsis "Rust tempfile implementation with assured clean-up")
(description
"Part of Gitoxide a Rust implementation of Git. This package provides a
tempfile capability with a global registry to assure clean-up.")
(license (list license:expat license:asl2.0))))
(define-public rust-gix-tempfile-11 (define-public rust-gix-tempfile-11
(package (package