summary refs log tree commit diff
path: root/gnu/packages/rpc.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-04-20 22:40:43 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-04-21 13:10:32 +0200
commitd0ca8f41c14d4e6d8fd7c8d49deaf69c194d3e8f (patch)
treeacddae2e498af6cb67801dd509a71442e525d176 /gnu/packages/rpc.scm
parent54db21b9f8e8f2b05ed2994a2735d6704b0af57b (diff)
downloadguix-d0ca8f41c14d4e6d8fd7c8d49deaf69c194d3e8f.tar.gz
gnu: Add grpc-for-python-grpcio.
* gnu/packages/rpc.scm (grpc-for-python-grpcio): New variable.
Diffstat (limited to 'gnu/packages/rpc.scm')
-rw-r--r--gnu/packages/rpc.scm20
1 files changed, 19 insertions, 1 deletions
diff --git a/gnu/packages/rpc.scm b/gnu/packages/rpc.scm
index f22b21cbb6..f30876dab4 100644
--- a/gnu/packages/rpc.scm
+++ b/gnu/packages/rpc.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2019, 2023 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
@@ -123,6 +123,24 @@ mile of distributed computing to connect devices, mobile applications and
 browsers to backend services.")
     (license license:asl2.0)))
 
+(define-public grpc-for-python-grpcio
+  (package
+    (inherit grpc)
+    (name "grpc")
+    (version "1.47.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/grpc/grpc")
+                    (commit (string-append "v" version))
+                    (recursive? #true)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1nl2d92f3576m69991d7gwyk1giavm04fagr612yjh90rni01ikw"))))
+    (inputs
+     (list abseil-cpp-20211102.0 c-ares/cmake openssl re2 zlib))))
+
 ;; Some packages require this older version.
 (define-public grpc-1.16.1
   (package