[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28155] [PATCH 1/3] gnu: Add python-pysocks.
From: |
Carlo Zancanaro |
Subject: |
[bug#28155] [PATCH 1/3] gnu: Add python-pysocks. |
Date: |
Sun, 20 Aug 2017 15:40:55 +1000 |
* 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 2b3820221..d85838d3c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15842,3 +15842,25 @@ thread-local variable.")
(define-public python2-flask-principal
(package-with-python2 python-flask-principal))
+
+(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))
--
2.13.3