mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Remove grpc-1.16.1.
* gnu/packages/rpc.scm (grpc-1.16.1): Delete variable. * gnu/packages/cpp.scm (abseil-cpp-20200923.3): Update comment. Change-Id: Ibc4efd08a6b28ff38dfe47ec765e1f4ef497d3ed
This commit is contained in:
parent
117cd790d8
commit
a480ab6908
2 changed files with 2 additions and 39 deletions
|
@ -2042,9 +2042,8 @@ point and then, after each tween step, plugging back the result.")
|
|||
(license license:expat)))
|
||||
|
||||
(define-public abseil-cpp-20200923.3
|
||||
;; "guix refresh -l" shows no dependents of this package, but by input
|
||||
;; rewriting, grpc-1.16.1 depends on it;
|
||||
;; in turn this is an input to hyperledger-iroha and tensorflow.
|
||||
;; This is not needed anymore except as a base of inheritance for
|
||||
;; abseil-cpp-20220623.
|
||||
(package
|
||||
(name "abseil-cpp")
|
||||
(version "20200923.3")
|
||||
|
|
|
@ -141,42 +141,6 @@ mile of distributed computing to connect devices, mobile applications and
|
|||
browsers to backend services.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
;; Some packages require this older version.
|
||||
(define-public grpc-1.16.1
|
||||
(package
|
||||
(inherit grpc)
|
||||
(version "1.16.1")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/grpc/grpc")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name "grpc" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1jimqz3115f9pli5w6ik9wi7mjc7ix6y7yrq4a1ab9fc3dalj7p2"))))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments grpc)
|
||||
((#:phases phases)
|
||||
#~(modify-phases #$phases
|
||||
;; Note: This would be nicer as a snippet, but that creates a tarball
|
||||
;; instead of a checkout and breaks assumptions made by the builder.
|
||||
(add-after 'unpack 'rename-gettid
|
||||
(lambda _
|
||||
;; Rename custom gettid() syscall wrapper to avoid conflict
|
||||
;; with gettid() from glibc 2.30.
|
||||
(substitute* '("src/core/lib/gpr/log_linux.cc"
|
||||
"src/core/lib/gpr/log_posix.cc"
|
||||
"src/core/lib/iomgr/ev_epollex_linux.cc")
|
||||
(("gettid\\(")
|
||||
"sys_gettid("))))))))
|
||||
(inputs
|
||||
(modify-inputs (package-inputs grpc)
|
||||
(replace "abseil-cpp" abseil-cpp-20200923.3)))
|
||||
(native-inputs
|
||||
(modify-inputs (package-native-inputs grpc)
|
||||
(replace "protobuf" protobuf-3.6)))))
|
||||
|
||||
(define-public python-grpc-stubs
|
||||
(package
|
||||
(name "python-grpc-stubs")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue