summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2018-06-14 00:57:12 +0200
committerClément Lassieur <clement@lassieur.org>2018-06-14 08:18:02 +0200
commitb863b50d80f5b8b3ece01c1f7198b57e22e4edf9 (patch)
tree66b01c7486c071b7ffb4fcf72e055355d1961717 /gnu
parentf4adbe7405fe9b0b921391b315dde79f1547b921 (diff)
downloadguix-b863b50d80f5b8b3ece01c1f7198b57e22e4edf9.tar.gz
gnu: Add python-pynamecheap.
* gnu/packages/python.scm (python-pynamecheap, python2-pynamecheap): New
variables.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 21201cc8d1..c09b006096 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13691,3 +13691,28 @@ Public Suffix List's private domains as well.")
 
 (define-public python2-tldextract
   (package-with-python2 python-tldextract))
+
+(define-public python-pynamecheap
+  (package
+    (name "python-pynamecheap")
+    (version "0.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "PyNamecheap" version))
+       (sha256
+        (base32
+         "0wkbwz208j8nfrsmzmclvxg22ymknn0mlz76wbdza9k2bx2zja6l"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-requests" ,python-requests)))
+    (home-page
+     "https://github.com/Bemmu/PyNamecheap")
+    (synopsis
+     "Namecheap API client in Python")
+    (description
+     "PyNamecheap is a Namecheap API client in Python.")
+    (license license:expat)))
+
+(define-public python2-pynamecheap
+  (package-with-python2 python-pynamecheap))