thomasd pushed a commit to branch master
in repository guix.
commit 07e62ae1c20977a622a6b623a8416ed1213d3113
Author: Carlo Zancanaro <[email protected]>
Date: Sun Aug 20 15:40:55 2017 +1000
gnu: Add python-pysocks.
* gnu/packages/python.scm (python-pysocks, python2-pysocks): New variables.
---
gnu/packages/python.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 1ea2c42..dfc1b00 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))