gnu: Add python-pysocks.

* gnu/packages/python.scm (python-pysocks, python2-pysocks): New variables.
This commit is contained in:
Carlo Zancanaro 2017-08-20 15:40:55 +10:00 committed by Thomas Danckaert
parent b85a66b4d5
commit 07e62ae1c2
No known key found for this signature in database
GPG key ID: 5C3B064C724A5726

View file

@ -15965,3 +15965,25 @@ (define-public python-flask-httpauth
(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))