[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#33952] [PATCH 03/14] gnu: Add c-ares-next.
From: |
Ricardo Wurmus |
Subject: |
[bug#33952] [PATCH 03/14] gnu: Add c-ares-next. |
Date: |
Wed, 2 Jan 2019 17:17:56 +0100 |
* 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 <address@hidden>
;;; Copyright © 2015, 2016, 2018 Efraim Flashner <address@hidden>
+;;; Copyright © 2018 Ricardo Wurmus <address@hidden>
;;;
;;; 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
- [bug#33952] Add tensorflow., Ricardo Wurmus, 2019/01/02
- [bug#33952] [PATCH 01/14] gnu: Add gemmlowp-for-tensorflow., Ricardo Wurmus, 2019/01/02
- [bug#33952] [PATCH 04/14] gnu: Add protobuf-next., Ricardo Wurmus, 2019/01/02
- [bug#33952] [PATCH 02/14] gnu: Add tensorflow-core., Ricardo Wurmus, 2019/01/02
- [bug#33952] [PATCH 03/14] gnu: Add c-ares-next.,
Ricardo Wurmus <=
- [bug#33952] [PATCH 07/14] gnu: Add python-doctest-ignore-unicode., Ricardo Wurmus, 2019/01/02
- [bug#33952] [PATCH 08/14] gnu: Add python-graphviz., Ricardo Wurmus, 2019/01/02
- [bug#33952] [PATCH 05/14] gnu: Add grpc., Ricardo Wurmus, 2019/01/02
- [bug#33952] [PATCH 09/14] gnu: Add python-absl-py., Ricardo Wurmus, 2019/01/02
- [bug#33952] [PATCH 06/14] gnu: Add graphviz-2.38., Ricardo Wurmus, 2019/01/02
- [bug#33952] [PATCH 10/14] gnu: Add python-astor., Ricardo Wurmus, 2019/01/02