From 2330a9d04d653e0c211d4af36dbd3b7bb3ff085d Mon Sep 17 00:00:00 2001 From: Steve George Date: Thu, 9 Nov 2023 19:38:18 +0000 Subject: gnu: Add rust-gix-index-0.25. * gnu/packages/crates-io.scm (rust-gix-index-0.25): New variable. (rust-gix-index-0.17): Inherit from rust-gix-index-0.25. Change-Id: I2c4fe0c47b9737efdff8aef678773bf20067bdbb Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 51 ++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 42 insertions(+), 9 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5140be1943..175fed8e22 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31159,8 +31159,49 @@ keys. Part of Gitoxide a Rust implementation of Git.") .gitignore files.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-index-0.25 + (package + (name "rust-gix-index") + (version "0.25.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-index" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dqp5ri3kh87qgy0gxzlr0m4jki8xk5sr8zm867hh4rws6ln6kgm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + (list "--release" "--" + "--skip=access::tests::entry_by_path_with_conflicting_file") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-bstr" ,rust-bstr-1) + ("rust-btoi" ,rust-btoi-0.4) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-gix-bitmap" ,rust-gix-bitmap-0.2) + ("rust-gix-features" ,rust-gix-features-0.35) + ("rust-gix-fs" ,rust-gix-fs-0.7) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-lock" ,rust-gix-lock-10) + ("rust-gix-object" ,rust-gix-object-0.37) + ("rust-gix-traverse" ,rust-gix-traverse-0.33) + ("rust-itoa" ,rust-itoa-1) + ("rust-memmap2" ,rust-memmap2-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Part of Gitoxide, this crate implements the Git index file") + (description + "Part of Gitoxide, a pure Rust implementation of Rust. This package's +crate implements the Git index file.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-index-0.17 (package + (inherit rust-gix-index-0.25) (name "rust-gix-index") (version "0.17.0") (source @@ -31170,7 +31211,6 @@ keys. Part of Gitoxide a Rust implementation of Git.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "10kvzsrn7wjgwb3y4xwj9szcg9j81mlkab04z9ii5cdzz9cajsv1")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) @@ -31188,14 +31228,7 @@ keys. Part of Gitoxide a Rust implementation of Git.") ("rust-memmap2" ,rust-memmap2-0.5) ("rust-serde" ,rust-serde-1) ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis - "Crate of the gitoxide project dedicated implementing the git index file") - (description - "This package provides a work-in-progress crate of the gitoxide project -dedicated implementing the git index file.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-lock-10 (package -- cgit 1.4.1