diff options
author | Steve George <steve@futurile.net> | 2024-10-03 08:12:13 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:04:52 +0200 |
commit | d0f77cc2b536c782ff673ad8cf34ae8a3399d6e7 (patch) | |
tree | 9e6c14665bfd74f3be6be05902ff307c107535c1 /gnu | |
parent | bce0a37086bd38ec9ecb58f50e796c0dce41a937 (diff) | |
download | guix-d0f77cc2b536c782ff673ad8cf34ae8a3399d6e7.tar.gz guix-d0f77cc2b536c782ff673ad8cf34ae8a3399d6e7.zip |
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
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-vcs.scm | 41 |
1 files changed, 33 insertions, 8 deletions
diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index 0b932020ff..135f453920 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -5124,8 +5124,40 @@ implementation of Git.") ("rust-gix-url" ,rust-gix-url-0.24) ("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 (package + (inherit rust-gix-tempfile-14) (name "rust-gix-tempfile") (version "12.0.1") (source @@ -5135,7 +5167,6 @@ implementation of Git.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1aiypbizzx997lw8yvz2sk4nnmxz1yq233j5kc8my7wbf5nkgvx8")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-dashmap" ,rust-dashmap-5) ("rust-document-features" ,rust-document-features-0.2) @@ -5145,13 +5176,7 @@ implementation of Git.") ("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)))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gix-tempfile-11 (package |