guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 5/9] gnu: Add python-pysocks.


From: contact . ng0
Subject: [PATCH 5/9] gnu: Add python-pysocks.
Date: Sat, 4 Feb 2017 16:35:02 +0000

From: ng0 <address@hidden>

* gnu/packages/python.scm (python-pysocks): New variable.
---
 gnu/packages/python.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e8d1c5697..9c3a031e1 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3970,6 +3970,30 @@ as the original project seems to have been abandoned 
circa 2007.")
 (define-public python2-socksipy-branch
   (package-with-python2 python-socksipy-branch))
 
+(define-public python-pysocks
+  (package
+    (name "python-pysocks")
+    (version "1.5.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "PySocks" version))
+       (sha256
+        (base32
+         "124bydbcspzhkb6ynckvgqra1b79rh5mrq98kbyyd202n6a7c775"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)) ; Tests are optional and use a prebuilt mocks
+    (home-page "https://github.com/Anorov/PySocks";)
+    (synopsis "Python SOCKS client module")
+    (description
+     "Semi-actively maintained SocksiPy fork which contains many
+improvements to the original.")
+    (license license:bsd-3)))
+
+(define-public python2-pysocks
+  (package-with-python2 python-pysocks))
+
 (define-public python-sqlalchemy
   (package
     (name "python-sqlalchemy")
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]