Subject: [PATCH 1/2] gnu: grpc: Add grpc-1.54.0.

From: 路辉 <[email-masked]>
Date: Tue, 2 May 2023 00:27:18 +0000

>From 9714c22de0359b0e062f85bf714887cb3534e4eb Mon Sep 17 00:00:00 2001
From: Lu Hui <[email-masked]>
Date: Tue, 2 May 2023 08:20:49 +0800
Subject: [PATCH 1/2] gnu: grpc: Add grpc-1.54.0.

* gnu/packages/rpc.scm (grpc-1.54.0): New variable.
---
 gnu/packages/rpc.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/rpc.scm b/gnu/packages/rpc.scm
index a88c79f8b9..6dd2e29aed 100644
--- a/gnu/packages/rpc.scm
+++ b/gnu/packages/rpc.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2021 Greg Hogan <[email-masked]>
 ;;; Copyright © 2021 Tobias Geerinckx-Rice <[email-masked]>
 ;;; Copyright © 2022 Maxim Cournoyer <[email-masked]>
+;;; Copyright © 2023 Lu Hui <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -142,6 +143,22 @@ (define-public grpc-for-python-grpcio
     (inputs
      (list abseil-cpp-20211102.0 c-ares/cmake openssl re2 zlib))))

+(define-public grpc-1.54.0
+  (package
+    (inherit grpc)
+    (name "grpc")
+    (version "1.54.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/grpc/grpc")
+                    (commit (string-append "v" version))
+                    (recursive? #true)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1z627932z9p46yirnaaakshaz9z0szb9qbbp0br65iw5ijnznlar"))))))
+
 ;; Some packages require this older version.
 (define-public grpc-1.16.1
   (package
-- 
2.39.2