summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@zancanaro.id.au>2017-08-20 15:40:55 +1000
committerThomas Danckaert <thomas.danckaert@gmail.com>2017-08-30 09:20:45 +0200
commit07e62ae1c20977a622a6b623a8416ed1213d3113 (patch)
tree90759e0597a6f76ef66d81f5d67316b7dc0e4d19 /gnu
parentb85a66b4d581455b9aaf8b9cd21cb9bb57d76b36 (diff)
gnu: Add python-pysocks.
* gnu/packages/python.scm (python-pysocks, python2-pysocks): New variables.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 1ea2c42bf7..dfc1b00906 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15965,3 +15965,25 @@ authentication for Flask routes.")
(define-public python2-flask-httpauth
(package-with-python2 python-flask-httpauth))
+
+(define-public python-pysocks
+ (package
+ (name "python-pysocks")
+ (version "1.6.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "PySocks" version))
+ (sha256
+ (base32
+ "1krkiss578zqwcg4c8iqz1hwscwhsvy2djp3xyvps5gsgvr2j0yh"))))
+ (build-system python-build-system)
+ (arguments `(#:tests? #f))
+ (home-page "https://github.com/Anorov/PySocks")
+ (synopsis "SOCKS client module")
+ (description "@code{pysocks} is an updated and semi-actively maintained
+version of @code{SocksiPy} with bug fixes and extra features.")
+ (license license:bsd-3)))
+
+(define-public python2-pysocks
+ (package-with-python2 python-pysocks))