gnu: grpc: Update to 1.33.2.
* gnu/packages/rpc.scm (grpc): Update to 1.33.2. [arguments]: Use system (re2) provided package. [inputs]: Add re2. [native-inputs]: Add pkg-config.
This commit is contained in:
parent
ef1bc77676
commit
f85490869e
@ -2,6 +2,7 @@
|
|||||||
;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2020 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>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
@ -38,12 +39,13 @@
|
|||||||
#:use-module (gnu packages protobuf)
|
#:use-module (gnu packages protobuf)
|
||||||
#: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 tls))
|
#:use-module (gnu packages tls))
|
||||||
|
|
||||||
(define-public grpc
|
(define-public grpc
|
||||||
(package
|
(package
|
||||||
(name "grpc")
|
(name "grpc")
|
||||||
(version "1.27.3")
|
(version "1.33.2")
|
||||||
(outputs '("out" "static"))
|
(outputs '("out" "static"))
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
@ -53,7 +55,7 @@
|
|||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0czmbwnafc7jnrrq2fnac2av83vs2q7q0wy4k11w9zbpld7j5h6d"))))
|
"09xd9pkyp10gh051kf8kwxn4myw42zv8kngr9z8wpm6mjy0j4ylw"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no test target
|
`(#:tests? #f ; no test target
|
||||||
@ -63,6 +65,7 @@
|
|||||||
"-DgRPC_CARES_PROVIDER=package"
|
"-DgRPC_CARES_PROVIDER=package"
|
||||||
"-DgRPC_SSL_PROVIDER=package"
|
"-DgRPC_SSL_PROVIDER=package"
|
||||||
"-DgRPC_PROTOBUF_PROVIDER=package"
|
"-DgRPC_PROTOBUF_PROVIDER=package"
|
||||||
|
"-DgRPC_RE2_PROVIDER=package"
|
||||||
(string-append "-DCMAKE_INSTALL_PREFIX="
|
(string-append "-DCMAKE_INSTALL_PREFIX="
|
||||||
(assoc-ref %outputs "out"))
|
(assoc-ref %outputs "out"))
|
||||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||||
@ -102,9 +105,11 @@
|
|||||||
`(("abseil-cpp" ,abseil-cpp)
|
`(("abseil-cpp" ,abseil-cpp)
|
||||||
("c-ares" ,c-ares/cmake)
|
("c-ares" ,c-ares/cmake)
|
||||||
("openssl" ,openssl)
|
("openssl" ,openssl)
|
||||||
|
("re2" ,re2)
|
||||||
("zlib" ,zlib)))
|
("zlib" ,zlib)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("protobuf" ,protobuf)
|
`(("pkg-config" ,pkg-config)
|
||||||
|
("protobuf" ,protobuf)
|
||||||
("python" ,python-wrapper)))
|
("python" ,python-wrapper)))
|
||||||
(home-page "https://grpc.io")
|
(home-page "https://grpc.io")
|
||||||
(synopsis "High performance universal RPC framework")
|
(synopsis "High performance universal RPC framework")
|
||||||
|
Loading…
Reference in New Issue
Block a user