From patchwork Wed Jan 2 16:17:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 629 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1C596169F5; Wed, 2 Jan 2019 16:19:46 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id A6EFD169EF for ; Wed, 2 Jan 2019 16:19:45 +0000 (GMT) Received: from localhost ([127.0.0.1]:45919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejFB-0004om-8Q for patchwork@mira.cbaines.net; Wed, 02 Jan 2019 11:19:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejEZ-0004KE-Ah for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gejEW-0006mE-P9 for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57185) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gejEW-0006ll-LG for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gejEW-0002AX-GH for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33952] [PATCH 05/14] gnu: Add grpc. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Jan 2019 16:19:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33952 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: <33952@debbugs.gnu.org> Received: via spool by 33952-submit@debbugs.gnu.org id=B33952.15464459178214 (code B ref 33952); Wed, 02 Jan 2019 16:19:04 +0000 Received: (at 33952) by debbugs.gnu.org; 2 Jan 2019 16:18:37 +0000 Received: from localhost ([127.0.0.1]:44901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejE5-00028K-Bf for submit@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:37 -0500 Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:34420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejDz-000280-Hx for 33952@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:32 -0500 Received: from localhost (localhost [127.0.0.1]) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 0CCD43808E6 for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received:received:received; s=mdc; t= 1546445910; x=1548260311; bh=TcErdeO25A1ELGUrZadxNr0WcBCflrXJnzv gRtLzkRY=; b=KOtxqS2k/zU62QOT22xW7h7It/9lo9KgUtH+siQcolvUA+KnRRE gYaW/J6B+vJW0Er4sUjK/8juqvyvmyON9uvWvneb3JZJ++nXzTc8ETuGTZf+/+Fl rg07A8NWUZ4CvvR3lLvuSa/MVf4Op/b8Yr+9sxrCFW6oQtTbMlkJ3tcc= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from venus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (venus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1p55eGKuPrRC for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:30 +0100 (CET) Received: from SW-IT-P-CAS4.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTPS for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:30 +0100 (CET) Received: from localhost (141.80.113.103) by SW-IT-P-CAS4.mdc-berlin.net (141.80.113.59) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 2 Jan 2019 17:18:30 +0100 From: Ricardo Wurmus Date: Wed, 2 Jan 2019 17:17:58 +0100 Message-ID: <20190102161807.28297-5-ricardo.wurmus@mdc-berlin.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190102161807.28297-1-ricardo.wurmus@mdc-berlin.de> References: <20190102161807.28297-1-ricardo.wurmus@mdc-berlin.de> MIME-Version: 1.0 X-Originating-IP: [141.80.113.103] X-TM-AS-Product-Ver: SMEX-12.5.0.1684-8.5.1010-24332.001 X-TM-AS-Result: No-6.300200-8.000000-10 X-TMASE-MatchedRID: KISk8WdGcXCSkBDp1A0HiriMC5wdwKqdTJDl9FKHbrn4JyR+b5tvoAVH u6jbMMsIcTAtS2/Pz7m7/LlTYfsWi+o3TaQdFshVnVTWWiNp+v91IdjjHRSNCfiOVFVDMBMP8G/ sG7+c6DLjH7e2FFPVBuLpee4QwI3ecqmQ2Pf7LSMXrP0cYcrA2x852jgffnmIlyTha2lEJrXID4 QowRlFfueU+JIba2eRgDLqnrRlXrZ8nn9tnqel2MprJP8FBOIaMUq7KlLFE5ZwyPICahJ8/o1Ho 7WvaQbvk5Pe3Tt7YlBhd3OKzaEHbQ== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--6.300200-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-24332.001 X-TM-SNTS-SMTP: 58E324458D08512B45A45528E601576A835BC7D241B817770375C531B153A9C62000:9 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ricardo Wurmus Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")