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.
This commit is contained in:
Efraim Flashner 2021-07-04 12:52:32 +03:00
parent 8dc852b940
commit 73a5891d74
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Brett Gilio <brettg@gnu.org> ;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2021 Greg Hogan <code@greghogan.com> ;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
@ -42,7 +42,8 @@ (define-module (gnu packages rpc)
#:use-module (gnu packages python) #:use-module (gnu packages python)
#:use-module (gnu packages python-xyz) #:use-module (gnu packages python-xyz)
#:use-module (gnu packages regex) #:use-module (gnu packages regex)
#:use-module (gnu packages tls)) #:use-module (gnu packages tls)
#:use-module (srfi srfi-1))
(define-public grpc (define-public grpc
(package (package
@ -152,7 +153,10 @@ (define-public grpc-1.16.1
"src/core/lib/iomgr/ev_epollex_linux.cc") "src/core/lib/iomgr/ev_epollex_linux.cc")
(("gettid\\(") (("gettid\\(")
"sys_gettid(")) "sys_gettid("))
#t)))))))) #t))))))
(native-inputs
`(("protobuf" ,protobuf-3.6)
,@(alist-delete "protobuf" (package-native-inputs grpc))))))
(define-public python-grpcio (define-public python-grpcio
(package (package