gnu: Add python-grpc-stubs.

* gnu/packages/rpc.scm (python-grpc-stubs): New variable.
This commit is contained in:
Maxim Cournoyer 2022-08-31 15:05:04 -04:00
parent 5755aa61f6
commit abb1fd9116
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -156,6 +156,24 @@ (define-public grpc-1.16.1
(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")