gnu: Add rust-gix-tempfile-10.

* gnu/packages/crates-io.scm (rust-gix-tempfile-10): New variable.
(rust-gix-tempfile-6): Inherit from rust-gix-tempfile-10.

Change-Id: Ia3af5caf892860ada0dd9f5f881549b862604f43
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Steve George 2023-11-09 19:38:12 +00:00 committed by Efraim Flashner
parent a4606d6e94
commit 2803b0ea93
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -31728,8 +31728,39 @@ (define-public rust-gix-sec-0.8
trust model.")
(license (list license:expat license:asl2.0))))
(define-public rust-gix-tempfile-10
(package
(name "rust-gix-tempfile")
(version "10.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "gix-tempfile" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0kdc21s0dnqnbzfdazpsw8fclnw1gi3w4np71qlmgp0i7s7rgq2s"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-dashmap" ,rust-dashmap-5)
("rust-document-features" ,rust-document-features-0.2)
("rust-gix-fs" ,rust-gix-fs-0.7)
("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 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-6
(package
(inherit rust-gix-tempfile-10)
(name "rust-gix-tempfile")
(version "6.0.0")
(source
@ -31739,7 +31770,6 @@ (define-public rust-gix-tempfile-6
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "047baclw78xkzjg04z5290x7vhcz270jpw7vdm25rp7922q5qy5k"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-dashmap" ,rust-dashmap-5)
@ -31750,13 +31780,7 @@ (define-public rust-gix-tempfile-6
("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 "Tempfile implementation with a global registry to assure cleanup")
(description
"This package provides a tempfile implementation with a global registry to
assure cleanup.")
(license (list license:expat license:asl2.0))))
("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-gix-trace-0.1
(package