Subject: [bug#67024] [PATCH 49/54] gnu: Add rust-gix-submodule-0.4.

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

* gnu/packages/crates-io.scm (rust-gix-submoduule-0.4): New variable.

Change-Id: Id0ae0337c4da8d5f6d8d6cc824eddf361359db32
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 91b7685af94..bc7b88a0b18 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32423,6 +32423,34 @@ (define-public rust-gix-status-0.1
 Rust implementation of Git.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-gix-submodule-0.4
+  (package
+    (name "rust-gix-submodule")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-submodule" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1dz2w3ikhbf938rfamlqkmxl9hznz4i7mm9dmgrd70lj5vl500fx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;undeclared crate gix_testtools
+       #:cargo-inputs (("rust-bstr" ,rust-bstr-1)
+                       ("rust-gix-config" ,rust-gix-config-0.30)
+                       ("rust-gix-path" ,rust-gix-path-0.10)
+                       ("rust-gix-pathspec" ,rust-gix-pathspec-0.3)
+                       ("rust-gix-refspec" ,rust-gix-refspec-0.18)
+                       ("rust-gix-url" ,rust-gix-url-0.24)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/Byron/gitoxide")
+    (synopsis "Functions for dealing with Git submodules")
+    (description
+     "Functions for dealing with Git submodules.  Part of Gitoxide a pure Rust
+implementation of Git.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-tempfile-10
   (package
     (name "rust-gix-tempfile")
-- 
2.41.0