[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/05: gnu: Add python-grpc-stubs.
From: |
guix-commits |
Subject: |
02/05: gnu: Add python-grpc-stubs. |
Date: |
Wed, 31 Aug 2022 23:17:33 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit abb1fd911684091f5ccad8a87385d76c5c25f23c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Aug 31 15:05:04 2022 -0400
gnu: Add python-grpc-stubs.
* gnu/packages/rpc.scm (python-grpc-stubs): New variable.
---
gnu/packages/rpc.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/rpc.scm b/gnu/packages/rpc.scm
index a1728f2d78..59a4c41343 100644
--- a/gnu/packages/rpc.scm
+++ b/gnu/packages/rpc.scm
@@ -156,6 +156,24 @@ browsers to backend services.")
(delete "abseil-cpp" "protobuf")
(prepend abseil-cpp-20200923.3 protobuf-3.6)))))
+(define-public python-grpc-stubs
+ (package
+ (name "python-grpc-stubs")
+ (version "1.24.11")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "grpc-stubs" version))
+ (sha256
+ (base32
+ "19dkm365g38lvxm799d29dnzg60g8in8251c18qkvsv4n92h8axh"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-grpcio python-typing-extensions))
+ (home-page "https://github.com/shabbyrobe/grpc-stubs")
+ (synopsis "gRPC typing stubs for Python")
+ (description "This is a PEP-561-compliant stub-only package which provides
+type information of gRPC.")
+ (license license:expat)))
+
(define-public python-grpcio
(package
(name "python-grpcio")