From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH] gnu: Add python2-pydns Date: Wed, 27 Jul 2016 02:35:28 +0200 Message-ID: <20160727023528.129db5ec@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSCoy-00008a-7H for guix-devel@gnu.org; Tue, 26 Jul 2016 20:35:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSCou-00008s-UR for guix-devel@gnu.org; Tue, 26 Jul 2016 20:35:36 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:45791) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSCou-00008d-Ds for guix-devel@gnu.org; Tue, 26 Jul 2016 20:35:32 -0400 Received: from localhost (77.116.159.65.wireless.dyn.drei.com [77.116.159.65]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 2C1DF1CA057F for ; Wed, 27 Jul 2016 02:35:30 +0200 (CEST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/networking.scm (python2-pydns): New variable. --- gnu/packages/networking.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index f89a73e..616d616 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -30,6 +30,7 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix build-system perl) + #:use-module (guix build-system python) #:use-module (gnu packages admin) #:use-module (gnu packages adns) #:use-module (gnu packages audio) @@ -607,3 +608,25 @@ offline emulation of DNS.") (description "The Perl module 'Geo::IP'. It looks up location and network information by IP Address.") (license (package-license perl)))) + +(define-public python2-pydns + (package + (name "python2-pydns") + (version "2.3.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pydns" version)) + (sha256 + (base32 + "0qnv7i9824nb5h9psj0rwzjyprwgfiwh5s5raa9avbqazy5hv5pi")))) + (build-system python-build-system) + (native-inputs + `(("python2-setuptools" ,python2-setuptools))) + (arguments + `(#:tests? #f #| there are no tests |# + #:python ,python-2)) + (home-page "http://pydns.sourceforge.net/") + (synopsis "Python DNS library") + (description "Python DNS library") + (license license:psfl)))