[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/10: gnu: Add python-socks.
From: |
guix-commits |
Subject: |
05/10: gnu: Add python-socks. |
Date: |
Mon, 28 Dec 2020 06:22:42 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit c47e551402cf6492fcc2b9e9719f074cb45d6e0d
Author: John Doe <dftxbs3e@free.fr>
AuthorDate: Sun Dec 27 23:26:50 2020 +0100
gnu: Add python-socks.
* gnu/packages/python-web.scm (python-socks): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/python-web.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index bdde4d9..66af408 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5724,3 +5724,38 @@ that's written to go fast. It allows the usage of the
@code{async/await} syntax added in Python 3.5, which makes
your code non-blocking and speedy.")
(license license:expat)))
+
+(define-public python-socks
+ (package
+ (name "python-socks")
+ (version "1.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "python-socks" version))
+ (sha256
+ (base32
+ "06mgv3icsyglv50w3sb71x6cpbskza20pqd93l5xk59x574i6xgs"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ; tests not included
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "tests/" "-s"))
+ #t)))))
+ (propagated-inputs
+ `(("python-async-timeout" ,python-async-timeout)
+ ("python-curio" ,python-curio)
+ ("python-trio" ,python-trio)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (home-page "https://github.com/romis2012/python-socks")
+ (synopsis
+ "Core proxy (SOCKS4, SOCKS5, HTTP tunneling) functionality for Python")
+ (description
+ "Socks is a library providing core proxy (SOCKS4, SOCKS5, HTTP tunneling)
+ functionality.")
+ (license license:asl2.0)))
- branch master updated (98471d5 -> 3742c7f), guix-commits, 2020/12/28
- 01/10: gnu: Add python-qtpy., guix-commits, 2020/12/28
- 03/10: gnu: Add python-qdarkstyle., guix-commits, 2020/12/28
- 04/10: gnu: Add python-bitstring., guix-commits, 2020/12/28
- 05/10: gnu: Add python-socks.,
guix-commits <=
- 02/10: gnu: Add python-helpdev., guix-commits, 2020/12/28
- 06/10: gnu: python-aiohttp-socks: Update to 0.5.5., guix-commits, 2020/12/28
- 07/10: gnu: libsecp256k1: Update to 20200615-1-dbd41db., guix-commits, 2020/12/28
- 08/10: gnu: electrum: Update to 4.0.9., guix-commits, 2020/12/28
- 10/10: gnu: pythonbitstring: Run tests., guix-commits, 2020/12/28
- 09/10: gnu: python-helpdev: Enable tests., guix-commits, 2020/12/28