summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-11-09 19:38:13 +0000
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:59:46 +0200
commite445adf3d412be7dcab11ea2a7ea77c7fb1be6f3 (patch)
tree83c2569ed4e85691cf8ca665b299076ed9bce5c9
parent2803b0ea93bb261ec3d3b9839c7edaf0a37fa12c (diff)
downloadguix-e445adf3d412be7dcab11ea2a7ea77c7fb1be6f3.tar.gz
gnu: Add rust-gix-lock-10.
* gnu/packaes/crates-io.scm (rust-gix-lock-10): New variable.
(rust-gix-lock-6): Inherit from rust-gix-lock-10.

Change-Id: If5a929b3895dcbf950f3fd50253e2d2de284242b
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm34
1 files changed, 26 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 54f1f50894..1ddfee2caf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31157,8 +31157,32 @@ optimized to utilize @code{ObjectId} keys.")
 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))
+       #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3))))
+    (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
@@ -31168,18 +31192,13 @@ dedicated implementing the git index file.")
        (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
@@ -31751,8 +31770,7 @@ trust model.")
                        ("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")
+    (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.")