From 07e62ae1c20977a622a6b623a8416ed1213d3113 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Sun, 20 Aug 2017 15:40:55 +1000 Subject: [PATCH] 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 1ea2c42bf7..dfc1b00906 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -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))