diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-25 16:10:16 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2025-01-06 12:19:06 +0200 |
commit | 24287b8304b95a53af1c67fda8682d17ccf8bd94 (patch) | |
tree | 6194ba572a3a5d48498a5cb94c4342b4997f9819 /gnu/packages/crates-web.scm | |
parent | 312c7d4b7bb084a54a6d39273c1e1da37dc9971e (diff) |
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
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 6a10b0d9f0..8395e02ad5 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") |