aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/rpc.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-03-21 12:20:14 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-03-21 12:22:22 +0100
commitf2c7513d1604076049d1834580d218d764e6b85b (patch)
treeb49d7d98274bef428189d2625e42a4038811d576 /gnu/packages/rpc.scm
parentc61557b1b642b61abdb665527e6a34b97e3d064f (diff)
downloadpatches-f2c7513d1604076049d1834580d218d764e6b85b.tar
patches-f2c7513d1604076049d1834580d218d764e6b85b.tar.gz
gnu: python-grpcio: Move to (gnu packages rpc).
* gnu/packages/python-xyz.scm (python-grpcio): Move from here ... * gnu/packages/rpc.scm (python-grpcio): ... to here.
Diffstat (limited to 'gnu/packages/rpc.scm')
-rw-r--r--gnu/packages/rpc.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/rpc.scm b/gnu/packages/rpc.scm
index f37a660fc7..991dc89324 100644
--- a/gnu/packages/rpc.scm
+++ b/gnu/packages/rpc.scm
@@ -21,11 +21,14 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix git-download)
+ #:use-module (guix download)
#:use-module (guix build-system cmake)
+ #:use-module (guix build-system python)
#:use-module (gnu packages adns)
#:use-module (gnu packages compression)
#:use-module (gnu packages protobuf)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-xyz)
#:use-module (gnu packages tls))
(define-public grpc
@@ -101,3 +104,23 @@ tracing, health checking and authentication. It is also applicable in last
mile of distributed computing to connect devices, mobile applications and
browsers to backend services.")
(license license:asl2.0)))
+
+(define-public python-grpcio
+ (package
+ (name "python-grpcio")
+ (version "1.17.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "grpcio" version))
+ (sha256
+ (base32
+ "0qb9y6j83nxa6d4kc60i8yfgdm7a8ms7b54kncjzf5y7nsxp8rzx"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-six" ,python-six)))
+ (home-page "https://grpc.io")
+ (synopsis "HTTP/2-based RPC framework")
+ (description "This package provides a Python library for communicating
+with the HTTP/2-based RPC framework gRPC.")
+ (license license:asl2.0)))