From d10c2dd427c4610a692622cc6ab48ed6096f9045 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 11 Mar 2024 13:50:46 +0200 Subject: [PATCH] gnu: Add rust-gix-odb-0.55. * gnu/packages/crates-vcs.scm (rust-gix-odb-0.55): New variable. (rust-gix-odb-0.54): Inherit from rust-gix-odb-0.55. Change-Id: I0a2b5a2f5f0846ddf715c2dcdaac3317477d80c0 --- gnu/packages/crates-vcs.scm | 41 ++++++++++++++++++++++++++++++------- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index 9a5cccb437..d3a3b36c4b 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -2658,8 +2658,41 @@ support.") #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) +(define-public rust-gix-odb-0.55 + (package + (name "rust-gix-odb") + (version "0.55.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-odb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1b1vr5yp96a3ik32a41rp749v2nir7n6hhwdrip9rja02nbmzbhz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-object" ,rust-gix-object-0.39) + ("rust-gix-pack" ,rust-gix-pack-0.45) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-serde" ,rust-serde-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Implements various Git object databases") + (description "Implements various Git object databases for Gitoxide. +Gitoxide is a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-odb-0.54 (package + (inherit rust-gix-odb-0.55) (name "rust-gix-odb") (version "0.54.0") (source @@ -2669,7 +2702,6 @@ support.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0fql2p0xinkdaq7bybz12j1yw0b4lq3d1nl3sf2ad3qdp1nbac46")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1) ("rust-document-features" ,rust-document-features-0.2) @@ -2683,12 +2715,7 @@ support.") ("rust-parking-lot" ,rust-parking-lot-0.12) ("rust-serde" ,rust-serde-1) ("rust-tempfile" ,rust-tempfile-3) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Implements various Git object databases") - (description "Implements various Git object databases for Gitoxide. -Gitoxide is a pure Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-odb-0.53 (package