From 5d2c2edd2a8ca7127a8b394608abcd533a523de2 Mon Sep 17 00:00:00 2001 From: Steve George Date: Thu, 9 Nov 2023 19:38:19 +0000 Subject: [PATCH] gnu: Add rust-gix-ignore-0.8. * gnu/packages/crates-io.scm (rust-gix-ignore-0.8): New variable. (rust-gix-ignore-0.3): Inherit from rust-gix-ignore-0.8. Change-Id: Ife70e383026bb3cc2d87c8cfff4cafa88d7acc1f Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 175fed8e22..894d849227 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31133,8 +31133,33 @@ keys. Part of Gitoxide a Rust implementation of Git.") ("rust-hashbrown" ,rust-hashbrown-0.14) ("rust-parking-lot" ,rust-parking-lot-0.12)))))) +(define-public rust-gix-ignore-0.8 + (package + (name "rust-gix-ignore") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-ignore" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qzmpylhwqqnnb7hcbwfbvblbzg3hzid4d2w42j2vc7nl51z8j5h")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-glob" ,rust-gix-glob-0.13) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-serde" ,rust-serde-1) + ("rust-unicode-bom" ,rust-unicode-bom-2)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "This Gitoxide crate handles .gitignore files") + (description "This crate is part of Gitoxide, it handles .gitignore files.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-ignore-0.3 (package + (inherit rust-gix-ignore-0.8) (name "rust-gix-ignore") (version "0.3.0") (source @@ -31144,7 +31169,6 @@ keys. Part of Gitoxide a Rust implementation of Git.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "09anfy62zfsclkkvvrsp0bi99pny66hqn07pvc4fik0c3887yvzw")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -31152,12 +31176,7 @@ keys. Part of Gitoxide a Rust implementation of Git.") ("rust-gix-glob" ,rust-gix-glob-0.8) ("rust-gix-path" ,rust-gix-path-0.8) ("rust-serde" ,rust-serde-1) - ("rust-unicode-bom" ,rust-unicode-bom-2)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Crate of the gitoxide project dealing .gitignore files") - (description "This package provides a crate of the gitoxide project dealing -.gitignore files.") - (license (list license:expat license:asl2.0)))) + ("rust-unicode-bom" ,rust-unicode-bom-2)))))) (define-public rust-gix-index-0.25 (package