Subject: [bug#69257] [PATCH rust-team v2 011/117] gnu: Add rust-grpcio-compiler-0.12.

From: Herman Rimm <[email-masked]>
Date: Sun, 28 Apr 2024 20:54:37 +0200

* gnu/packages/crates-io.scm (rust-grpcio-compiler-0.12): Add variable.

Change-Id: Id485ae69a2ff3d93442f4bd51d269e9fda18f5b4
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a62742adbf..a2ffce5820 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30678,6 +30678,31 @@ (define-public rust-groupable-0.2
      "This package aggregates groups of values from key-value iterators.")
     (license license:expat)))
 
+(define-public rust-grpcio-compiler-0.12
+  (package
+    (name "rust-grpcio-compiler")
+    (version "0.12.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "grpcio-compiler" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1rck9047121w1fd6lgg344frn0dv32mh5y7hc0ca15rm8w9hcgfs"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-derive-new" ,rust-derive-new-0.5)
+                       ("rust-prost" ,rust-prost-0.11)
+                       ("rust-prost-build" ,rust-prost-build-0.11)
+                       ("rust-prost-types" ,rust-prost-types-0.11)
+                       ("rust-protobuf" ,rust-protobuf-2)
+                       ("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/tikv/grpc-rs")
+    (synopsis "gRPC compiler for grpcio")
+    (description
+      "This package provides a @code{gRPC} compiler for grpcio.")
+    (license license:asl2.0)))
+
 (define-public rust-gumdrop-0.8
   (package
     (name "rust-gumdrop")
-- 
2.41.0