summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-11-09 19:38:20 +0000
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:59:48 +0200
commit7cf104f01c3693294b05f8cb0dadc7bc4830edcd (patch)
tree899b361b47fbf47491c165d0eb9549ef137b9e2f
parent5d2c2edd2a8ca7127a8b394608abcd533a523de2 (diff)
downloadguix-7cf104f01c3693294b05f8cb0dadc7bc4830edcd.tar.gz
gnu: Add rust-gix-worktree-0.26.
* gnu/packages/crates-io.scm (rust-gix-worktree-0.26): New variable.
(rust-gix-worktree-0.18): Inherit from rust-gix-worktree-0.26.

Change-Id: Ia82c3aef6cf29bcd038146f9d544fb3a2763a5e4
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm43
1 files changed, 35 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 894d849227..096e43a54b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32116,8 +32116,42 @@ package contains validation functions for various kinds of names in Git.")
        (("rust-bstr" ,rust-bstr-1)
         ("rust-thiserror" ,rust-thiserror-1))))))
 
+(define-public rust-gix-worktree-0.26
+  (package
+    (name "rust-gix-worktree")
+    (version "0.26.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-worktree" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1zhl1wlf4zl0ny1mwp7j24gzln63xy2grrh9cvaq5g8152bk4plz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1)
+                       ("rust-document-features" ,rust-document-features-0.2)
+                       ("rust-gix-attributes" ,rust-gix-attributes-0.19)
+                       ("rust-gix-features" ,rust-gix-features-0.35)
+                       ("rust-gix-fs" ,rust-gix-fs-0.7)
+                       ("rust-gix-glob" ,rust-gix-glob-0.13)
+                       ("rust-gix-hash" ,rust-gix-hash-0.13)
+                       ("rust-gix-ignore" ,rust-gix-ignore-0.8)
+                       ("rust-gix-index" ,rust-gix-index-0.25)
+                       ("rust-gix-object" ,rust-gix-object-0.37)
+                       ("rust-gix-path" ,rust-gix-path-0.10)
+                       ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/Byron/gitoxide")
+    (synopsis
+     "Gitoxide functions for handling shared Git worktree types and utilities")
+    (description
+     "This package provides functions for handling shared Git worktree related
+types and utilities.  Part of Gitoxide a pure Rust implementation of Git.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-worktree-0.18
   (package
+    (inherit rust-gix-worktree-0.26)
     (name "rust-gix-worktree")
     (version "0.18.0")
     (source
@@ -32127,7 +32161,6 @@ package contains validation functions for various kinds of names in Git.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1xjhxw6lmjhnmcnhajaks34dnsqgg7w7lf576hkl0m485sbav26k"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-bstr" ,rust-bstr-1)
@@ -32148,13 +32181,7 @@ package contains validation functions for various kinds of names in Git.")
        #:cargo-development-inputs
        (("rust-symlink" ,rust-symlink-0.1)
         ("rust-tempfile" ,rust-tempfile-3)
-        ("rust-walkdir" ,rust-walkdir-2))))
-    (home-page "https://github.com/Byron/gitoxide")
-    (synopsis "Shared worktree related types and utilities")
-    (description
-     "This package provides a crate of the gitoxide project for shared worktree
-related types and utilities.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-walkdir" ,rust-walkdir-2))))))
 
 (define-public rust-gjson-0.8
   (package