gnu: Add rust-gix-url-0.24

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

Change-Id: I5cd99fa037039bda16392d824108fc5e6402d262
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Steve George 2023-11-09 19:38:24 +00:00 committed by Efraim Flashner
parent 63c82ed260
commit d3e8adae57
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -32027,8 +32027,40 @@ package is used to traverse Git commit graphs and trees.")
("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
@ -32038,7 +32070,6 @@ package is used to traverse Git commit graphs and trees.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0qy8shn5s8r9fjchcqrz0xwg89lsjykd463naji4f864bbr3srpi"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bstr" ,rust-bstr-1)
@ -32048,13 +32079,7 @@ package is used to traverse Git commit graphs and trees.")
("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