aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2018-04-27 00:23:07 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2018-05-11 11:54:41 +0200
commitf90f4c9c925286044dde72272e48848b1e84bcf6 (patch)
treef24390dd95d4d00cd04882e4773f31195201cc65 /gnu/packages
parent25c591bf2e57489df441faf7471f4154b7c36955 (diff)
downloadguix-f90f4c9c925286044dde72272e48848b1e84bcf6.tar.gz
guix-f90f4c9c925286044dde72272e48848b1e84bcf6.zip
gnu: Add python-aiodns.
* gnu/packages/python-web.scm (python-aiodns): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-web.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9105afeb37..de1a6c32df 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -61,6 +61,29 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (srfi srfi-1))
+(define-public python-aiodns
+ (package
+ (name "python-aiodns")
+ (version "1.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "aiodns" version))
+ (sha256
+ (base32
+ "1snr5paql8dgvc676n8xq460wypjsb1xj53cf3px1s4wczf7lryq"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-pycares" ,python-pycares)))
+ (arguments
+ `(#:tests? #f)) ;tests require internet access
+ (home-page "http://github.com/saghul/aiodns")
+ (synopsis "Simple DNS resolver for asyncio")
+ (description "@code{aiodns} provides a simple way for doing
+asynchronous DNS resolutions with a synchronous looking interface by
+using @url{https://github.com/saghul/pycares,pycares}.")
+ (license license:expat)))
+
(define-public python-furl
(package
(name "python-furl")