From f6dca08cd46fc7adbba886b48a239e4b720bfb42 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 11 Mar 2024 13:55:15 +0200 Subject: [PATCH] gnu: Add rust-gix-packetline-blocking-0.17. * gnu/packages/crates-vcs.scm (rust-gix-packetline-blocking-0.17): New variable. (rust-gix-packetline-blocking-0.16): Inherit from rust-gix-packetline-blocking-0.17. Change-Id: Id4bbc4ceab3fb42b3be7e14a1ae269601fad7614 --- gnu/packages/crates-vcs.scm | 38 ++++++++++++++++++++++++++++--------- 1 file changed, 29 insertions(+), 9 deletions(-) diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index df9d57bed0..98e2aebc01 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -2970,8 +2970,36 @@ pkt-line serialization format.") (("rust-async-std" ,rust-async-std-1) ("rust-maybe-async" ,rust-maybe-async-0.2)))))) +(define-public rust-gix-packetline-blocking-0.17 + (package + (name "rust-gix-packetline-blocking") + (version "0.17.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-packetline-blocking" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xx2kd51hbrrhsrixka0sc2chcyh6k090bjppzrjc3m57vfzd3na")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-faster-hex" ,rust-faster-hex-0.9) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Duplicate of @code{gix-packetline} with @code{blocking-io} selected") + (description "Part of Gitoxide, a pure Rust implementation of Git. This +package is a duplicate of @code{gix-packetline} with the @code{blocking-io} +feature pre-selected.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-packetline-blocking-0.16 (package + (inherit rust-gix-packetline-blocking-0.17) (name "rust-gix-packetline-blocking") (version "0.16.6") (source @@ -2981,20 +3009,12 @@ pkt-line serialization format.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0f9dr79jz9y11qhf0syxwa4nvn4czpyka84hzshxd10wa3vrb0vx")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-document-features" ,rust-document-features-0.2) ("rust-faster-hex" ,rust-faster-hex-0.8) ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis - "Duplicate of @code{gix-packetline} with @code{blocking-io} selected") - (description - "Part of Gitoxide, a pure Rust implementation of Git. This package is a -duplicate of @code{gix-packetline} with the @code{blocking-io} feature pre-selected") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-path-0.10 (package