From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejEZ-0004KG-Hv 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 1gejEV-0006jV-QJ for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:51189) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gejEV-0006jO-Mk for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gejEV-0002AG-Gb for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:03 -0500 Subject: [bug#33952] [PATCH 03/14] gnu: Add c-ares-next. Resent-Message-ID: From: Ricardo Wurmus Date: Wed, 2 Jan 2019 17:17:56 +0100 Message-ID: <20190102161807.28297-3-ricardo.wurmus@mdc-berlin.de> In-Reply-To: <20190102161807.28297-1-ricardo.wurmus@mdc-berlin.de> References: <20190102161807.28297-1-ricardo.wurmus@mdc-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33952@debbugs.gnu.org Cc: Ricardo Wurmus * gnu/packages/adns.scm (c-ares-next): New variable. --- gnu/packages/adns.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/adns.scm b/gnu/packages/adns.scm index 6e3af8b2d..28a65667e 100644 --- a/gnu/packages/adns.scm +++ b/gnu/packages/adns.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 Ludovic Courtès ;;; Copyright © 2015, 2016, 2018 Efraim Flashner +;;; Copyright © 2018 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,6 +22,7 @@ #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (gnu packages pkg-config)) @@ -80,3 +82,33 @@ queries without blocking, or need to perform multiple DNS queries in parallel. The primary examples of such applications are servers which communicate with multiple clients and programs with graphical user interfaces.") (license (x11-style "https://c-ares.haxx.se/license.html")))) + +;; XXX: temporary package for tensorflow / grpc +(define-public c-ares-next + (package + (name "c-ares") + (version "1.15.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://c-ares.haxx.se/download/" name "-" version + ".tar.gz")) + (sha256 + (base32 + "0lk8knip4xk6qzksdkn7085mmgm4ixfczdyyjw656c193y3rgnvc")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; some tests seem to require Internet connection + #:configure-flags + (list "-DCARES_BUILD_TESTS=ON"))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://c-ares.haxx.se/") + (synopsis "C library for asynchronous DNS requests") + (description + "C-ares is a C library that performs DNS requests and name resolution +asynchronously. It is intended for applications which need to perform DNS +queries without blocking, or need to perform multiple DNS queries in parallel. +The primary examples of such applications are servers which communicate with +multiple clients and programs with graphical user interfaces.") + (license (x11-style "https://c-ares.haxx.se/license.html")))) -- 2.19.1