From 773e86569303d81e40f4dd1c1da811580e3301ba Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Mon, 19 May 2025 20:48:57 +0200 Subject: [PATCH] gnu: Add rust-gix-archive@0.18.0. * gnu/packages/crates-vcs.scm (rust-gix-archive-0.18): New variable. Change-Id: I65a30f36efa8d39b15ac3f3615ce5ae866fc391e --- gnu/packages/crates-vcs.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index 5b7277a6cc..6d3a898e06 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -1988,6 +1988,37 @@ compile-time feature flags for gitoxide.") "This package provides immutable and mutable git objects with decoding and encoding support.") (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-archive-0.18 + (package + (name "rust-gix-archive") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-archive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09ls5n0zg5vfhy6xvg1s5lrl1gbb478xxccwrzrf9p23cl4fyqwv")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #: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.9) + ("rust-gix-object" ,rust-gix-object-0.46) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-worktree-stream" ,rust-gix-worktree-stream-0.18) + ("rust-jiff" ,rust-jiff-0.1) + ("rust-tar" ,rust-tar-0.4) + ("rust-thiserror" ,rust-thiserror-2) + ("rust-zip" ,rust-zip-2)))) + (home-page "https://github.com/GitoxideLabs/gitoxide") + (synopsis "archive generation from a git worktree stream") + (description + "This package provides archive generation from a git worktree stream.") + (license (list license:expat license:asl2.0)))) (define-public rust-gix-0.66 (package (name "rust-gix")