From d25b82813d7d91ba3aeaa6e1b950e5509f4976d5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 27 Mar 2024 10:13:30 +0200 Subject: [PATCH] gnu: Add rust-gix-pathspec-0.5. * gnu/packages/crates-vcs.scm (rust-gix-pathspec-0.5): New variable. (rust-gix-pathspec-0.4): Inherit from rust-gix-pathspec-0.5. Change-Id: I532ff32c05a61cb4b9d397aea53e0c6900e99197 --- gnu/packages/crates-vcs.scm | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index f5522d3a10..83d6bf2107 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -3139,24 +3139,24 @@ (define-public rust-gix-path-0.8 #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-gix-pathspec-0.4 +(define-public rust-gix-pathspec-0.5 (package (name "rust-gix-pathspec") - (version "0.4.1") + (version "0.5.1") (source (origin (method url-fetch) (uri (crate-uri "gix-pathspec" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ka9h2lfgbfbby5rciipgy6nkl1qkcrhp0xvr11z13m3flpvkfqx")))) + (base32 "0iqj3l4z29sg2z4bb21dn3n58wd1jgl6ydpnradzh13wa7lhxnqc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) ("rust-bstr" ,rust-bstr-1) - ("rust-gix-attributes" ,rust-gix-attributes-0.20) + ("rust-gix-attributes" ,rust-gix-attributes-0.21) ("rust-gix-config-value" ,rust-gix-config-value-0.14) - ("rust-gix-glob" ,rust-gix-glob-0.14) + ("rust-gix-glob" ,rust-gix-glob-0.15) ("rust-gix-path" ,rust-gix-path-0.10) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1) @@ -3168,6 +3168,29 @@ (define-public rust-gix-pathspec-0.4 part of Gitoxide, a Rust implementation of Git.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-pathspec-0.4 + (package + (inherit rust-gix-pathspec-0.5) + (name "rust-gix-pathspec") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-pathspec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ka9h2lfgbfbby5rciipgy6nkl1qkcrhp0xvr11z13m3flpvkfqx")))) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-bstr" ,rust-bstr-1) + ("rust-gix-attributes" ,rust-gix-attributes-0.20) + ("rust-gix-config-value" ,rust-gix-config-value-0.14) + ("rust-gix-glob" ,rust-gix-glob-0.14) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-serial-test" ,rust-serial-test-2)))))) + (define-public rust-gix-pathspec-0.3 (package (inherit rust-gix-pathspec-0.4)