Subject: [PATCH 31/54] gnu: Add rust-gix-credentials-0.20.

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

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

Change-Id: I3866e819033ede89df4789b172f311e3269946f1
---
 gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++--------
 1 file changed, 34 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6f9ee879ec3..2ad1c4fa162 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30773,8 +30773,41 @@ (define-public rust-gix-config-value-0.12
         ("rust-serde" ,rust-serde-1)
         ("rust-thiserror" ,rust-thiserror-1))))))
 
+(define-public rust-gix-credentials-0.20
+  (package
+    (name "rust-gix-credentials")
+    (version "0.20.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-credentials" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12mwq0fah6wai26lnq9k3m71lr8cgih43rqy2in6mby59j40p426"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;wants undeclared crate gix_testtools
+       #:cargo-inputs (("rust-bstr" ,rust-bstr-1)
+                       ("rust-document-features" ,rust-document-features-0.2)
+                       ("rust-gix-command" ,rust-gix-command-0.2)
+                       ("rust-gix-config-value" ,rust-gix-config-value-0.14)
+                       ("rust-gix-path" ,rust-gix-path-0.10)
+                       ("rust-gix-prompt" ,rust-gix-prompt-0.7)
+                       ("rust-gix-sec" ,rust-gix-sec-0.10)
+                       ("rust-gix-url" ,rust-gix-url-0.24)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/Byron/gitoxide")
+    (synopsis
+     "Git credentials handlers for Gitoxide")
+    (description
+     "Gitoxide is a Rust implementation of Git.  This package provides helpers
+to interact with Git credentials.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-credentials-0.15
   (package
+    (inherit rust-gix-credentials-0.20)
     (name "rust-gix-credentials")
     (version "0.15.0")
     (source
@@ -30784,7 +30817,6 @@ (define-public rust-gix-credentials-0.15
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0r8dr9d1xzfq74sg3j2bhd6zsyk3y5322155izpzaa6dibm9zy66"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:tests? #f      ; use of undeclared crate or module `gix_testtools`
        #:cargo-inputs
@@ -30797,13 +30829,7 @@ (define-public rust-gix-credentials-0.15
         ("rust-gix-sec" ,rust-gix-sec-0.8)
         ("rust-gix-url" ,rust-gix-url-0.19)
         ("rust-serde" ,rust-serde-1)
-        ("rust-thiserror" ,rust-thiserror-1))))
-    (home-page "https://github.com/Byron/gitoxide")
-    (synopsis "Interact with git credentials helpers")
-    (description
-     "This package provides a crate of the gitoxide project to interact with git
-credentials helpers.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-thiserror" ,rust-thiserror-1))))))
 
 (define-public rust-gix-date-0.8
   (package
-- 
2.41.0