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:
Andreas Enge 2025-09-17 13:11:34 +02:00
parent 117cd790d8
commit a480ab6908
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3
2 changed files with 2 additions and 39 deletions

View file

@ -2042,9 +2042,8 @@ point and then, after each tween step, plugging back the result.")
(license license:expat))) (license license:expat)))
(define-public abseil-cpp-20200923.3 (define-public abseil-cpp-20200923.3
;; "guix refresh -l" shows no dependents of this package, but by input ;; This is not needed anymore except as a base of inheritance for
;; rewriting, grpc-1.16.1 depends on it; ;; abseil-cpp-20220623.
;; in turn this is an input to hyperledger-iroha and tensorflow.
(package (package
(name "abseil-cpp") (name "abseil-cpp")
(version "20200923.3") (version "20200923.3")

View file

@ -141,42 +141,6 @@ mile of distributed computing to connect devices, mobile applications and
browsers to backend services.") browsers to backend services.")
(license license:asl2.0))) (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 (define-public python-grpc-stubs
(package (package
(name "python-grpc-stubs") (name "python-grpc-stubs")