From b3e778a7b5813ed5ac724f93dc55265c5f0c8385 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 3 Jan 2024 10:09:41 +0200 Subject: [PATCH] gnu: Add rust-gix-archive-0.6. * gnu/packages/crates-vcs.scm (rust-gix-archive-0.6): New variable. (rust-gix-archive-0.5): Inherit from rust-gix-archive-0.6. Change-Id: Ib1c4289f8c79780658c4536fd3a6fa58652113cb --- gnu/packages/crates-vcs.scm | 40 ++++++++++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index 5fdff6c59f..3e709982da 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -772,8 +772,40 @@ (define-public rust-gix-actor-0.21 #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) +(define-public rust-gix-archive-0.6 + (package + (name "rust-gix-archive") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-archive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17gh1wzs1jrmywbchrqdmkma2c0saik7k52fralfdfkf6hbq97wh")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `gix_attributes` + #:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-flate2" ,rust-flate2-1) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-object" ,rust-gix-object-0.38) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-worktree-stream" ,rust-gix-worktree-stream-0.6) + ("rust-tar" ,rust-tar-0.4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3) + ("rust-zip" ,rust-zip-0.6)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Archive generation of a Git worktree") + (description "Archive generation of a worktree. Part of Gitoxide a pure +Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-archive-0.5 (package + (inherit rust-gix-archive-0.6) (name "rust-gix-archive") (version "0.5.0") (source @@ -783,7 +815,6 @@ (define-public rust-gix-archive-0.5 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1izajfmninmjg7mvcp6y0mdy641hkvvqmsd7gp6d92mkgxgn6wdb")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; undeclared crate gix_worktree, gix_filter, gix_odb #:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -796,12 +827,7 @@ (define-public rust-gix-archive-0.5 ("rust-tar" ,rust-tar-0.4) ("rust-thiserror" ,rust-thiserror-1) ("rust-time" ,rust-time-0.3) - ("rust-zip" ,rust-zip-0.6)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Archive generation of a Git worktree") - (description "Archive generation of a worktree. Part of Gitoxide a pure -Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-zip" ,rust-zip-0.6)))))) (define-public rust-gix-attributes-0.19 (package