From a4606d6e94e9daf769f2ae0506d838e4a141a54d Mon Sep 17 00:00:00 2001 From: Steve George Date: Thu, 9 Nov 2023 19:38:11 +0000 Subject: [PATCH] gnu: Add rust-gix-fs-0.7. * gnu/packages/crates-io.scm (rust-gix-fs-0.7): New variable. (rust-gix-fs-0.2): Inherit from rust-gix-fs-0.7. Change-Id: I01c7f82c81503c751158e104000d5a0a763c9061 Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 60a6afdbb5..f549ff6dd4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30938,8 +30938,31 @@ compile-time feature flags.") Git filters in Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-fs-0.7 + (package + (name "rust-gix-fs") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-fs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0db6bj773ssqvy03mi28glzy963cd1aaaxcbj4nv7s9glsmmz089")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gix-features" ,rust-gix-features-0.35)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "File system utilities for Gitoxide") + (description + "Gitoxide is a pure Rust implementation of Git. This package provides +file system utilities for Gitoxide.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-fs-0.2 (package + (inherit rust-gix-fs-0.7) (name "rust-gix-fs") (version "0.2.0") (source @@ -30949,16 +30972,9 @@ Git filters in Rust.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1ddah0c5ljpfpy2ab1gmgblli2lz4bpbgghm9vwqgnwa02bqknih")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gix-features" ,rust-gix-features-0.30)) - #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "File system specific utilities to `gitoxide`") - (description - "This package provides a crate providing file system specific utilities to -`gitoxide`.") - (license (list license:expat license:asl2.0)))) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gix-glob-0.13 (package