From 0421357ff00a8900d45f505dae99d6369ea1cc50 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 27 Mar 2024 10:07:00 +0200 Subject: [PATCH] gnu: Add rust-gix-url-0.26. * gnu/packages/crates-vcs.scm (rust-gix-url-0.26): New variable. (rust-gix-url-0.25): Inherit from rust-gix-url-0.26. Change-Id: Ibe8cc1e29503aba1ac826f55c621254cb4205f8b --- gnu/packages/crates-vcs.scm | 43 +++++++++++++++++++++++++++++-------- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index 09da69b8fd..cd0f3ece8f 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -4373,8 +4373,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.26 + (package + (name "rust-gix-url") + (version "0.26.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-url" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i6wjjaq1yhxqk9gbriv9raldhs04yy91ipys4qs4lkmxg61f3wg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-features" ,rust-gix-features-0.37) + ("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-assert-matches" ,rust-assert-matches-1)))) + (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.25 (package + (inherit rust-gix-url-0.26) (name "rust-gix-url") (version "0.25.2") (source @@ -4384,7 +4416,6 @@ (define-public rust-gix-url-0.25 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "01a0phpk3f0lrhavqm51cgpdwh925i2djiyslaj57ync24d7lhhc")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-document-features" ,rust-document-features-0.2) @@ -4394,14 +4425,8 @@ (define-public rust-gix-url-0.25 ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1) ("rust-url" ,rust-url-2)) - #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1)))) - (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)))) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1)))))) (define-public rust-gix-url-0.24 (package