Subject: [PATCH 27/54] gnu: Add rust-gix-url-0.24

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

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

Change-Id: I5cd99fa037039bda16392d824108fc5e6402d262
---
 gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++--------
 1 file changed, 33 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 327c0419cd9..2c96744ad7f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32079,8 +32079,40 @@ (define-public rust-gix-traverse-0.26
         ("rust-gix-object" ,rust-gix-object-0.30)
         ("rust-thiserror" ,rust-thiserror-1))))))
 
+(define-public rust-gix-url-0.24
+  (package
+    (name "rust-gix-url")
+    (version "0.24.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-url" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "03s2ds2z6whd44qapyvz4kqfpniik0issv6s09rbys4cdvsfq9b1"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ; undeclared crate gix_testtools
+       #:cargo-inputs (("rust-bstr" ,rust-bstr-1)
+                       ("rust-document-features" ,rust-document-features-0.2)
+                       ("rust-gix-features" ,rust-gix-features-0.35)
+                       ("rust-gix-path" ,rust-gix-path-0.10)
+                       ("rust-home" ,rust-home-0.5)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs (("rust-libtest-mimic" ,rust-libtest-mimic-0.6))))
+    (home-page "https://github.com/Byron/gitoxide")
+    (synopsis
+     "This crate implements parsing and serialization of gix-url for Gitoxide")
+    (description
+     "This package is part of Gitoxide a Rust implementation of Git.  It
+provides a crate for parsing and serialization of gix-url's.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-url-0.19
   (package
+    (inherit rust-gix-url-0.24)
     (name "rust-gix-url")
     (version "0.19.0")
     (source
@@ -32090,7 +32122,6 @@ (define-public rust-gix-url-0.19
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0qy8shn5s8r9fjchcqrz0xwg89lsjykd463naji4f864bbr3srpi"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-bstr" ,rust-bstr-1)
@@ -32100,13 +32131,7 @@ (define-public rust-gix-url-0.19
         ("rust-home" ,rust-home-0.5)
         ("rust-serde" ,rust-serde-1)
         ("rust-thiserror" ,rust-thiserror-1)
-        ("rust-url" ,rust-url-2))))
-    (home-page "https://github.com/Byron/gitoxide")
-    (synopsis "Parse and serialize gix-url")
-    (description
-     "This package provides a crate of the gitoxide project implementing parsing
-and serialization of gix-url.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-url" ,rust-url-2))))))
 
 (define-public rust-gix-utils-0.1
   (package
-- 
2.41.0