unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: 33952@debbugs.gnu.org
Cc: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Subject: [bug#33952] [PATCH 05/14] gnu: Add grpc.
Date: Wed, 2 Jan 2019 17:17:58 +0100	[thread overview]
Message-ID: <20190102161807.28297-5-ricardo.wurmus@mdc-berlin.de> (raw)
In-Reply-To: <20190102161807.28297-1-ricardo.wurmus@mdc-berlin.de>

* gnu/packages/machine-learning.scm (grpc): New variable.
---
 gnu/packages/machine-learning.scm | 40 +++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index dd725a609..d3310ac83 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -39,6 +39,7 @@
   #:use-module (guix build-system r)
   #:use-module (guix git-download)
   #:use-module (gnu packages)
+  #:use-module (gnu packages adns)
   #:use-module (gnu packages algebra)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages boost)
@@ -58,6 +59,7 @@
   #:use-module (gnu packages python)
   #:use-module (gnu packages statistics)
   #:use-module (gnu packages swig)
+  #:use-module (gnu packages tls)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
   #:use-module (ice-9 match))
@@ -791,6 +793,44 @@ mobile and edge devices.
 This package provides only the core library.")
     (license license:asl2.0)))
 
+(define-public grpc
+  (package
+    (name "grpc")
+    (version "1.16.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/grpc/grpc.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1jimqz3115f9pli5w6ik9wi7mjc7ix6y7yrq4a1ab9fc3dalj7p2"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f ; no test target
+       #:configure-flags
+       (list "-DgRPC_ZLIB_PROVIDER=package"
+             "-DgRPC_CARES_PROVIDER=package"
+             "-DgRPC_SSL_PROVIDER=package"
+             "-DgRPC_PROTOBUF_PROVIDER=package")))
+    (inputs
+     `(("c-ares" ,c-ares-next)
+       ("openssl" ,openssl)
+       ("zlib" ,zlib)))
+    (native-inputs
+     `(("protobuf" ,protobuf-next)
+       ("python" ,python-wrapper)))
+    (home-page "https://grpc.io")
+    (synopsis "High performance universal RPC framework")
+    (description "gRPC is a modern open source high performance @dfn{Remote
+Procedure Call} (RPC) framework that can run in any environment.  It can
+efficiently connect services in and across data centers with pluggable support
+for load balancing, 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 dlib
   (package
     (name "dlib")
-- 
2.19.1

  parent reply	other threads:[~2019-01-02 16:19 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-02 16:16 [bug#33952] Add tensorflow Ricardo Wurmus
2019-01-02 16:17 ` [bug#33952] [PATCH 01/14] gnu: Add gemmlowp-for-tensorflow Ricardo Wurmus
2019-01-02 16:17   ` [bug#33952] [PATCH 02/14] gnu: Add tensorflow-core Ricardo Wurmus
2019-01-02 16:17   ` [bug#33952] [PATCH 03/14] gnu: Add c-ares-next Ricardo Wurmus
2019-01-02 16:17   ` [bug#33952] [PATCH 04/14] gnu: Add protobuf-next Ricardo Wurmus
2019-01-02 16:17   ` Ricardo Wurmus [this message]
2019-01-02 16:17   ` [bug#33952] [PATCH 06/14] gnu: Add graphviz-2.38 Ricardo Wurmus
2019-01-02 16:18   ` [bug#33952] [PATCH 07/14] gnu: Add python-doctest-ignore-unicode Ricardo Wurmus
2019-01-02 16:18   ` [bug#33952] [PATCH 08/14] gnu: Add python-graphviz Ricardo Wurmus
2019-01-02 16:18   ` [bug#33952] [PATCH 09/14] gnu: Add python-absl-py Ricardo Wurmus
2019-01-02 16:25   ` [bug#33952] [PATCH 10/14] gnu: Add python-astor Ricardo Wurmus
2019-01-02 16:25     ` [bug#33952] [PATCH 11/14] gnu: Add python-astunparse Ricardo Wurmus
2019-01-02 16:25     ` [bug#33952] [PATCH 12/14] gnu: Add python-gast Ricardo Wurmus
2019-01-02 16:25     ` [bug#33952] [PATCH 13/14] gnu: Add python-grpcio Ricardo Wurmus
2019-01-02 16:25     ` [bug#33952] [PATCH 14/14] gnu: Add tensorflow Ricardo Wurmus
2019-04-08 12:45 ` [bug#33952] [PATCH v2] " Ricardo Wurmus
2019-04-11 11:28   ` Ludovic Courtès
2019-04-11 15:55     ` bug#33952: " Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190102161807.28297-5-ricardo.wurmus@mdc-berlin.de \
    --to=ricardo.wurmus@mdc-berlin.de \
    --cc=33952@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).