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 03/14] gnu: Add c-ares-next.
Date: Wed, 2 Jan 2019 17:17:56 +0100	[thread overview]
Message-ID: <20190102161807.28297-3-ricardo.wurmus@mdc-berlin.de> (raw)
In-Reply-To: <20190102161807.28297-1-ricardo.wurmus@mdc-berlin.de>

* 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 <ludo@gnu.org>
 ;;; Copyright © 2015, 2016, 2018 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
 ;;;
 ;;; 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

  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   ` Ricardo Wurmus [this message]
2019-01-02 16:17   ` [bug#33952] [PATCH 04/14] gnu: Add protobuf-next Ricardo Wurmus
2019-01-02 16:17   ` [bug#33952] [PATCH 05/14] gnu: Add grpc Ricardo Wurmus
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-3-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).