From e43140a945fd1968c20262496758e53cd02f28a6 Mon Sep 17 00:00:00 2001 From: Steve George Date: Wed, 2 Oct 2024 18:07:12 +0100 Subject: gnu: Add rust-gix-validate-0.9. * gnu/packages/crates-vcs.scm (rust-gix-validate-0.9): New variable. (rust-gix-validate-0.8): Inherit from rust-gix-validate-0.9. Change-Id: I696950afed6729e795b22b76049ae7ddde1ee771 --- gnu/packages/crates-vcs.scm | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index cdd02be158..df10988f0e 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -5513,27 +5513,45 @@ provides a crate for parsing and serialization of gix-url's.") feature toggles.") (license (list license:expat license:asl2.0)))) -(define-public rust-gix-validate-0.8 +(define-public rust-gix-validate-0.9 (package (name "rust-gix-validate") - (version "0.8.4") + (version "0.9.0") (source (origin (method url-fetch) (uri (crate-uri "gix-validate" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0i8m4jv53yn8nhp2niifb03p6lcyj1sd8d6x36n5x624c3hcd7z3")))) + (base32 "11kckcqaihbik9pzx08dzl81k6965isnpqiyb42b8msfnvdvmwl1")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) - ("rust-thiserror" ,rust-thiserror-1)))) + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-thiserror" ,rust-thiserror-1)))) (home-page "https://github.com/Byron/gitoxide") - (synopsis "Rust validation functions for various kinds of names in Git") + (synopsis "Validation functions for various kinds of names in Git") (description "Part of Gitoxide, a pure Rust implementation of Git. This package contains validation functions for various kinds of names in Git.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-validate-0.8 + (package + (inherit rust-gix-validate-0.9) + (name "rust-gix-validate") + (version "0.8.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-validate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i8m4jv53yn8nhp2niifb03p6lcyj1sd8d6x36n5x624c3hcd7z3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-validate-0.7 (package (inherit rust-gix-validate-0.8) -- cgit v1.2.3