From 742c518213f8ac69e74370553b601c6542f403fd Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 11 Mar 2024 13:51:09 +0200 Subject: [PATCH] gnu: Add rust-gix-pack-0.45. * gnu/packages/crates-vcs.scm (rust-gix-pack-0.45): New variable. (rust-gix-pack-0.44): Inherit from rust-gix-pack-0.45. Change-Id: Ib66e4b3c760553e4eb3e24e966e0d7c313dd0f41 --- gnu/packages/crates-vcs.scm | 48 ++++++++++++++++++++++++++++++------- 1 file changed, 40 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index d3a3b36c4b..80b3d16ea4 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -2777,8 +2777,47 @@ (define-public rust-gix-odb-0.46 ("rust-maplit" ,rust-maplit-1) ("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) +(define-public rust-gix-pack-0.45 + (package + (name "rust-gix-pack") + (version "0.45.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-pack" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "019jbbbxq53r5l7sfh3vcbyyzagrmxhg6vs5fgrxsvs4j8f4jsa5")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared create gix_testtools + #:cargo-inputs (("rust-clru" ,rust-clru-0.6) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-chunk" ,rust-gix-chunk-0.4) + ("rust-gix-diff" ,rust-gix-diff-0.38) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.4) + ("rust-gix-object" ,rust-gix-object-0.39) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-11) + ("rust-gix-traverse" ,rust-gix-traverse-0.35) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-uluru" ,rust-uluru-3)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Implements Git packs and related data structures") + (description + "Git packs and related data structures for Gitoxide. Gitoxide is a pure +Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-pack-0.44 (package + (inherit rust-gix-pack-0.45) (name "rust-gix-pack") (version "0.44.0") (source @@ -2788,7 +2827,6 @@ (define-public rust-gix-pack-0.44 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1hwphs7ks8pf6v4wrmhd4iy8vj1in95db4q6j82i9zyy60pblc8l")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared create gix_testtools #:cargo-inputs (("rust-clru" ,rust-clru-0.6) @@ -2807,13 +2845,7 @@ (define-public rust-gix-pack-0.44 ("rust-serde" ,rust-serde-1) ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1) - ("rust-uluru" ,rust-uluru-3)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Implements Git packs and related data structures") - (description - "Git packs and related data structures for Gitoxide. Gitoxide is a pure -Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-uluru" ,rust-uluru-3)))))) (define-public rust-gix-pack-0.43 (package