From 253ded2b5ed458c04488c14b9b48ace1b9d95376 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 3 Jan 2024 09:51:03 +0200 Subject: [PATCH] gnu: Add rust-gix-transport-0.38. * gnu/packages/crates-vcs.scm (rust-gix-transport-0.38): New variable. (rust-gix-transport-0.37): Inherit from rust-gix-transport-0.38. Change-Id: I7845bb04540858dfb218cfca1d963a302ca5a9d0 --- gnu/packages/crates-vcs.scm | 52 +++++++++++++++++++++++++++++++------ 1 file changed, 44 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index bf1f54a1f3..20e27c2c12 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -2756,8 +2756,51 @@ (define-public rust-gix-trace-0.1 can be turned off to zero cost.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-transport-0.38 + (package + (name "rust-gix-transport") + (version "0.38.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-transport" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lp7bg7pj9l2na92bdrbx0zjybi7j88c26vm341z492f6s9rl81g")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.21) + ("rust-bstr" ,rust-bstr-1) + ("rust-curl" ,rust-curl-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-command" ,rust-gix-command-0.2) + ("rust-gix-credentials" ,rust-gix-credentials-0.21) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-packetline" ,rust-gix-packetline-0.16) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-url" ,rust-gix-url-0.25) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-blocking" ,rust-blocking-1) + ("rust-maybe-async" ,rust-maybe-async-0.2)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Implements the Git transport layer for Gitoxide") + (description + "This package is part of Gitoxide a Rust implementation of Git. It +provides an implementation of the Git transport layer.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-transport-0.37 (package + (inherit rust-gix-transport-0.38) (name "rust-gix-transport") (version "0.37.0") (source @@ -2767,7 +2810,6 @@ (define-public rust-gix-transport-0.37 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0kpv0aqx7c3hbsc14rk7c01yd7b73mm14d4swnn6hpi4d9p75v5r")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) @@ -2792,13 +2834,7 @@ (define-public rust-gix-transport-0.37 #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) ("rust-blocking" ,rust-blocking-1) - ("rust-maybe-async" ,rust-maybe-async-0.2)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Implements the Git transport layer for Gitoxide") - (description - "This package is part of Gitoxide a Rust implementation of Git. It -provides an implementation of the Git transport layer.") - (license (list license:expat license:asl2.0)))) + ("rust-maybe-async" ,rust-maybe-async-0.2)))))) (define-public rust-gix-transport-0.32 (package