From 73a5891d744c69ab01433b568ba5c55dd927f139 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 4 Jul 2021 12:52:32 +0300 Subject: gnu: grpc-1.16.1: Build with older protobuf. * gnu/packages/rpc.scm (grpc-1.16.1)[native-inputs]: Replace protobuf with protobuf-3.6. --- gnu/packages/rpc.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/rpc.scm b/gnu/packages/rpc.scm index 2e7f579117..f02fa66f6c 100644 --- a/gnu/packages/rpc.scm +++ b/gnu/packages/rpc.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2019 Ricardo Wurmus -;;; Copyright © 2020 Efraim Flashner +;;; Copyright © 2020, 2021 Efraim Flashner ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 Brett Gilio ;;; Copyright © 2021 Greg Hogan @@ -42,7 +42,8 @@ #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) #:use-module (gnu packages regex) - #:use-module (gnu packages tls)) + #:use-module (gnu packages tls) + #:use-module (srfi srfi-1)) (define-public grpc (package @@ -152,7 +153,10 @@ browsers to backend services.") "src/core/lib/iomgr/ev_epollex_linux.cc") (("gettid\\(") "sys_gettid(")) - #t)))))))) + #t)))))) + (native-inputs + `(("protobuf" ,protobuf-3.6) + ,@(alist-delete "protobuf" (package-native-inputs grpc)))))) (define-public python-grpcio (package -- cgit v1.2.3