From 5b9264d9ad368ad0a25007eff292c354125ba4ad Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 3 Jan 2024 10:06:33 +0200 Subject: gnu: Add rust-gix-pathspec-0.4. * gnu/packages/crates-vcs.scm (rust-gix-pathspec-0.4): New variable. (rust-gix-pathspec-0.3): Inherit from rust-gix-pathspec-0.4. Change-Id: If479d27a7e65c767c5a7bb3dca0eec6a287270d3 --- gnu/packages/crates-vcs.scm | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) (limited to 'gnu/packages/crates-vcs.scm') diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index c82400dad1..47229175a3 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -2560,25 +2560,24 @@ Git. This crate deals with paths and their conversions") #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-gix-pathspec-0.3 +(define-public rust-gix-pathspec-0.4 (package (name "rust-gix-pathspec") - (version "0.3.0") + (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 "1zg5m586s0sxxwadlvsx9hrrkyym9d4q936kk0zyf6y58ydnrqn3")))) + (base32 "0ka9h2lfgbfbby5rciipgy6nkl1qkcrhp0xvr11z13m3flpvkfqx")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ;undeclared crate gix_testtools - #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) ("rust-bstr" ,rust-bstr-1) - ("rust-gix-attributes" ,rust-gix-attributes-0.19) + ("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.13) + ("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) @@ -2590,6 +2589,30 @@ Git. This crate deals with paths and their conversions") part of Gitoxide, a Rust implementation of Git.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-pathspec-0.3 + (package + (inherit rust-gix-pathspec-0.4) + (name "rust-gix-pathspec") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-pathspec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zg5m586s0sxxwadlvsx9hrrkyym9d4q936kk0zyf6y58ydnrqn3")))) + (arguments + `(#:tests? #f ;undeclared crate gix_testtools + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-bstr" ,rust-bstr-1) + ("rust-gix-attributes" ,rust-gix-attributes-0.19) + ("rust-gix-config-value" ,rust-gix-config-value-0.14) + ("rust-gix-glob" ,rust-gix-glob-0.13) + ("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-prompt-0.7 (package (name "rust-gix-prompt") -- cgit v1.2.3