Subject: [bug#67024] [PATCH 16/54] gnu: Add rust-gix-lock-10.

From: Steve George <[email-masked]>
Date: Thu, 9 Nov 2023 19:38:13 +0000

* gnu/packaes/crates-io.scm (rust-gix-lock-10): New variable.

Change-Id: If5a929b3895dcbf950f3fd50253e2d2de284242b
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++------
 1 file changed, 24 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 11b56ab751d..748414f30b8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31205,8 +31205,31 @@ (define-public rust-gix-index-0.17
 dedicated implementing the git index file.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-gix-lock-10
+  (package
+    (name "rust-gix-lock")
+    (version "10.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-lock" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "15dazvw49bdx60366vngmrfn69rvxf0pr411a1ak6vbbigx9dz27"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-gix-tempfile" ,rust-gix-tempfile-10)
+                       ("rust-gix-utils" ,rust-gix-utils-0.1)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (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-6
   (package
+    (inherit rust-gix-lock-10)
     (name "rust-gix-lock")
     (version "6.0.0")
     (source
@@ -31216,18 +31239,13 @@ (define-public rust-gix-lock-6
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1lpqi927lacn2vz22q2mhacc4plkrlz5whm779ax65kky3kdbi9y"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-gix-tempfile" ,rust-gix-tempfile-6)
         ("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-file implementation")
-    (description "This package provides a git-style lock-file implementation.")
-    (license (list license:expat license:asl2.0))))
+       (("rust-tempfile" ,rust-tempfile-3))))))
 
 (define-public rust-gix-mailmap-0.13
   (package
-- 
2.41.0