guix-devel
[Top][All Lists]
Advanced

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

[PATCH] gnu: Add python2-pydns


From: Danny Milosavljevic
Subject: [PATCH] gnu: Add python2-pydns
Date: Wed, 27 Jul 2016 02:35:28 +0200

* 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)))



reply via email to

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