efraim pushed a commit to branch rust-team
in repository guix.

commit 3c2012f3d4d0177f15e378eaee04fe11f0dfd123
Author: Efraim Flashner <efr...@flashner.co.il>
AuthorDate: Fri Feb 14 13:17:29 2025 +0200

    gnu: Add rust-gix-tempfile-15.
    
    * gnu/packages/crates-vcs.scm (rust-gix-tempfile-15): New variable.
    (rust-gix-tempfile-14): Inherit from rust-gix-tempfile-15.
    
    Change-Id: Ifee50cf0507a62566c789d31805c2e7eb71f6c62
---
 gnu/packages/crates-vcs.scm | 40 +++++++++++++++++++++++++++++++---------
 1 file changed, 31 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm
index 08a88a9f11..5f757049b7 100644
--- a/gnu/packages/crates-vcs.scm
+++ b/gnu/packages/crates-vcs.scm
@@ -7066,8 +7066,38 @@ implementation of Git.")
                        ("rust-gix-url" ,rust-gix-url-0.24)
                        ("rust-thiserror" ,rust-thiserror-1))))))
 
+(define-public rust-gix-tempfile-15
+  (package
+    (name "rust-gix-tempfile")
+    (version "15.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-tempfile" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "10nvk82g7fhljg5y63dxpd8p7296wrfzxyssk957misc17pqdsrg"))))
+    (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.12)
+                       ("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/GitoxideLabs/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-14
   (package
+    (inherit rust-gix-tempfile-15)
     (name "rust-gix-tempfile")
     (version "14.0.2")
     (source
@@ -7077,7 +7107,6 @@ implementation of Git.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1ah8y51fbx6x9m71ihxk3zhny0c05kka5kd0a2hida4zjqkljsq4"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-dashmap" ,rust-dashmap-6)
@@ -7088,14 +7117,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 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))))
+        ("rust-tempfile" ,rust-tempfile-3))))))
 
 (define-public rust-gix-tempfile-12
   (package

Reply via email to