From 24287b8304b95a53af1c67fda8682d17ccf8bd94 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 25 Dec 2024 16:10:16 +0200 Subject: gnu: Add rust-tonic-build-0.12. * gnu/packages/crates-web.scm (rust-tonic-build-0.12): New variable. (rust-tonic-build-0.10): Inherit from rust-tonic-build-0.12. Change-Id: Ic3dd142c601b3908f53be5b0c3300f13c85d12dd --- gnu/packages/crates-web.scm | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) (limited to 'gnu/packages/crates-web.scm') diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 6a10b0d9f05..8395e02ad5d 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -6163,29 +6163,50 @@ on high performance, interoperability, and flexibility.") ("rust-tokio" ,rust-tokio-1) ("rust-tower" ,rust-tower-0.4)))))) -(define-public rust-tonic-build-0.10 +(define-public rust-tonic-build-0.12 (package (name "rust-tonic-build") - (version "0.10.2") + (version "0.12.3") (source (origin (method url-fetch) (uri (crate-uri "tonic-build" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "129qd12ka65h5f1dzi5mrlz6wndi0pfx1320lawq51f18k01y0lx")))) + (base32 "04baqblgrlc0g8scnhpky5s0n4cljaixrrdrr6cv6wx7kq8cwmwm")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-prettyplease" ,rust-prettyplease-0.2) ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-prost-build" ,rust-prost-build-0.12) + ("rust-prost-build" ,rust-prost-build-0.13) + ("rust-prost-types" ,rust-prost-types-0.13) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/hyperium/tonic") (synopsis "Codegen module of @code{tonic} gRPC implementation") - (description "Codegen module of @code{tonic} @code{gRPC} implementation.") + (description + "This package provides a codegen module of `tonic` @code{gRPC} implementation.") (license license:expat))) +(define-public rust-tonic-build-0.10 + (package + (inherit rust-tonic-build-0.12) + (name "rust-tonic-build") + (version "0.10.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tonic-build" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "129qd12ka65h5f1dzi5mrlz6wndi0pfx1320lawq51f18k01y0lx")))) + (arguments + `(#:cargo-inputs (("rust-prettyplease" ,rust-prettyplease-0.2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-prost-build" ,rust-prost-build-0.12) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) + (define-public rust-tower-0.5 (package (name "rust-tower") -- cgit v1.2.3