guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/13: gnu: Add python-pycares.


From: Nicolas Goaziou
Subject: 03/13: gnu: Add python-pycares.
Date: Fri, 11 May 2018 05:54:57 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 85ccc0c281d8ebbe5f08b978925be7eed557284a
Author: Nicolas Goaziou <address@hidden>
Date:   Mon Apr 23 00:01:56 2018 +0200

    gnu: Add python-pycares.
    
    * gnu/packages/python-web.scm (python-pycares): New variable.
---
 gnu/packages/python-web.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6e8d9ab..9105afe 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -24,6 +24,7 @@
 ;;; Copyright © 2015, 2016 David Thompson <address@hidden>
 ;;; Copyright © 2017 Mark Meyer <address@hidden>
 ;;; Copyright © 2018 Tomáš Čech <address@hidden>
+;;; Copyright © 2018 Nicolas Goaziou <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2511,3 +2512,23 @@ protocols, it supports features like HTTP keep-alive, 
reget, throttling and
 more.")
     (license license:lgpl2.1+)))
 
+(define-public python-pycares
+  (package
+    (name "python-pycares")
+    (version "2.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pycares" version))
+       (sha256
+        (base32
+         "0h4fxw5drrhfyslzmfpljk0qnnpbhhb20hnnndzahhbwylyw1x1n"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f))                    ;tests require internet access
+    (home-page "http://github.com/saghul/pycares";)
+    (synopsis "Python interface for @code{c-ares}")
+    (description "@code{pycares} is a Python module which provides an
+interface to @code{c-ares}, a C library that performs DNS requests and
+name resolutions asynchronously.")
+    (license license:expat)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]