From 967ad9ba96f78294af60bb39a457ab8e52b0f302 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 3 Jan 2024 10:07:00 +0200 Subject: [PATCH] gnu: Add rust-gix-protocol-0.41. * gnu/packages/crates-vcs.scm (rust-gix-protocol-0.41): New variable. (rust-gix-protocol-0.40): Inherit from rust-gix-protocol-0.41. Change-Id: I2d98f8254a057a4f3277b555cceb00042c74e50d --- gnu/packages/crates-vcs.scm | 47 ++++++++++++++++++++++++++++++------- 1 file changed, 39 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index 47229175a3..b15f6aba08 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -2663,8 +2663,46 @@ (define-public rust-gix-prompt-0.5 (("rust-expectrl" ,rust-expectrl-0.7) ("rust-serial-test" ,rust-serial-test-2)))))) +(define-public rust-gix-protocol-0.41 + (package + (name "rust-gix-protocol") + (version "0.41.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-protocol" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03hy77hbszssdkc4iwig3f82ib4i6agfag37svd90pzsppm3y7ir")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-bstr" ,rust-bstr-1) + ("rust-btoi" ,rust-btoi-0.4) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-gix-credentials" ,rust-gix-credentials-0.21) + ("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-transport" ,rust-gix-transport-0.38) + ("rust-maybe-async" ,rust-maybe-async-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winnow" ,rust-winnow-0.5)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-gix-packetline" ,rust-gix-packetline-0.16)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Implementation of Git protocols that's part of Gitoxide") + (description + "This package implements Git protocols for Gitoxide. Gitoxide is a pure +Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-protocol-0.40 (package + (inherit rust-gix-protocol-0.41) (name "rust-gix-protocol") (version "0.40.0") (source @@ -2674,7 +2712,6 @@ (define-public rust-gix-protocol-0.40 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "16qc5q53z5jdqb433106lzzifhf321zgv89ha65bxj8cq86p0yyc")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) ("rust-bstr" ,rust-bstr-1) @@ -2693,13 +2730,7 @@ (define-public rust-gix-protocol-0.40 ("rust-winnow" ,rust-winnow-0.5)) #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) - ("rust-gix-packetline" ,rust-gix-packetline-0.16)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Implementation of Git protocols that's part of Gitoxide") - (description - "This package implements Git protocols for Gitoxide. Gitoxide is a pure -Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-gix-packetline" ,rust-gix-packetline-0.16)))))) (define-public rust-gix-protocol-0.33 (package