Subject: [bug#69257] [PATCH 098/228] gnu: Add rust-grpcio-sys-0.12.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:03:36 +0100

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 15ff8a2b76..d8e4f6f949 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27848,6 +27848,34 @@ (define-public rust-grpcio-compiler-0.12
       "This package provides a @code{gRPC} compiler for grpcio.")
     (license license:asl2.0)))
 
+(define-public rust-grpcio-sys-0.12
+  (package
+    (name "rust-grpcio-sys")
+    (version "0.12.1+1.46.5-patched")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "grpcio-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0qpcvarqzwd2lz43z02wxx6rkd3zhk7dm3a2y01l5x5n0cc5sqng"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.59)
+                       ("rust-boringssl-src" ,rust-boringssl-src-0.5)
+                       ("rust-cc" ,rust-cc-1)
+                       ("rust-cmake" ,rust-cmake-0.1)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-libz-sys" ,rust-libz-sys-1)
+                       ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+                       ("rust-pkg-config" ,rust-pkg-config-0.3)
+                       ("rust-walkdir" ,rust-walkdir-2))))
+    (home-page "https://github.com/tikv/grpc-rs")
+    (synopsis "FFI bindings to gRPC c core library")
+    (description "This package provides FFI bindings to the @code{gRPC}
+C core library.")
+    (license license:asl2.0)))
+
 (define-public rust-gumdrop-0.8
   (package
     (name "rust-gumdrop")
-- 
2.41.0