From dde34de5161a0dd00acc24a9df9a6ea41cc78a34 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 11 Mar 2024 13:57:49 +0200 Subject: [PATCH] gnu: Add rust-gix-revwalk-0.10. * gnu/packages/crates-vcs.scm (rust-gix-revwalk-0.10): New variable. (rust-gix-revwalk-0.9): Inherit from rust-gix-revwalk-0.10. Change-Id: I5348f8292323b9f9d50e6c0288459cec37497736 --- gnu/packages/crates-vcs.scm | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index 30921c32fa..3fc926d65d 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -3665,8 +3665,36 @@ (define-public rust-gix-revision-0.15 ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-revwalk-0.10 + (package + (name "rust-gix-revwalk") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-revwalk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pf15qvha76skcyvysmmxfvb7fpq3s716izizmss956ajcjfvm39")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.22) + ("rust-gix-date" ,rust-gix-date-0.8) + ("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-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Utilities for walking the Git's revision graph") + (description + "Utilities for walking Git's revision graph. This crate is part of +Gitoxide, a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-revwalk-0.9 (package + (inherit rust-gix-revwalk-0.10) (name "rust-gix-revwalk") (version "0.9.0") (source @@ -3676,7 +3704,6 @@ (define-public rust-gix-revwalk-0.9 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1q7sgvkm0zdpp09v51jgv7c77zff82fvyr82dzc7dmjc5s4qqvd1")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.22) ("rust-gix-date" ,rust-gix-date-0.8) @@ -3684,13 +3711,7 @@ (define-public rust-gix-revwalk-0.9 ("rust-gix-hashtable" ,rust-gix-hashtable-0.4) ("rust-gix-object" ,rust-gix-object-0.38) ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Utilities for walking the Git's revision graph") - (description - "Utilities for walking Git's revision graph. This crate is part of -Gitoxide, a pure Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-revwalk-0.8 (package