aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-08-31 15:05:04 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-08-31 23:13:45 -0400
commitabb1fd911684091f5ccad8a87385d76c5c25f23c (patch)
tree0757fa448dd389f97584f01c016de5f16ec6f924
parent5755aa61f6b7f7c1aef76a127bc9abd920641c93 (diff)
downloadguix-abb1fd911684091f5ccad8a87385d76c5c25f23c.tar
guix-abb1fd911684091f5ccad8a87385d76c5c25f23c.tar.gz
gnu: Add python-grpc-stubs.
* gnu/packages/rpc.scm (python-grpc-stubs): New variable.
-rw-r--r--gnu/packages/rpc.scm18
1 files changed, 18 insertions, 0 deletions
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")