From 73f0c45680fba77670871334d72ee0e1746d94ce Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 27 Mar 2024 10:11:47 +0200 Subject: [PATCH] gnu: Add rust-gix-ref-0.40. * gnu/packages/crates-vcs.scm (rust-gix-ref-0.40): New variable. (rust-gix-ref-0.39): Inherit from rust-gix-ref-0.40. Change-Id: I7706ea2d3ae18ce9518e466a5fd580cddf320c65 --- gnu/packages/crates-vcs.scm | 44 +++++++++++++++++++++++++++++++------ 1 file changed, 37 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index 8ffd6064d4..a7e7a73715 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -3420,8 +3420,44 @@ Rust implementation of Git.") quotations used by git.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-ref-0.40 + (package + (name "rust-gix-ref") + (version "0.40.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-ref" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j96yj1j6mr06qspgxjdssssbf7dzj2bxz5224sqz3b3hhcvvnb4")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; undeclared crate gix_testtools + #:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.29) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-features" ,rust-gix-features-0.37) + ("rust-gix-fs" ,rust-gix-fs-0.9) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-lock" ,rust-gix-lock-12) + ("rust-gix-object" ,rust-gix-object-0.40) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-12) + ("rust-gix-validate" ,rust-gix-validate-0.8) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winnow" ,rust-winnow-0.5)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Part of Gitoxide, this crate handles Git references") + (description "This package provides a crate to handle git references. +Part of Gitoxide, a project to create a pure Rust Git implementation.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-ref-0.39 (package + (inherit rust-gix-ref-0.40) (name "rust-gix-ref") (version "0.39.1") (source @@ -3431,7 +3467,6 @@ quotations used by git.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1zmvbjqg7b46banbp7a7507wa1mx992gcmgg2wrpzkqjqannj81v")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; undeclared crate gix_testtools #:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) @@ -3448,12 +3483,7 @@ quotations used by git.") ("rust-memmap2" ,rust-memmap2-0.9) ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1) - ("rust-winnow" ,rust-winnow-0.5)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Part of Gitoxide, this crate handles Git references") - (description "This package provides a crate to handle git references. -Part of Gitoxide, a project to create a pure Rust Git implementation.") - (license (list license:expat license:asl2.0)))) + ("rust-winnow" ,rust-winnow-0.5)))))) (define-public rust-gix-ref-0.38 (package