[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/11: gnu: Add siosocks.
From: |
guix-commits |
Subject: |
02/11: gnu: Add siosocks. |
Date: |
Mon, 7 Nov 2022 14:52:09 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 5ed098095dbabbc93b5a8b6a1f24c61517f87d2d
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Oct 14 20:59:11 2022 +0100
gnu: Add siosocks.
* gnu/packages/python-web.scm (python-siosocks): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/python-web.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 905ed6a327..7b0979065e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6678,6 +6678,43 @@ through the network, it only deals with the
implementation details of the
SOCKS protocols. It can be paired with any I/O library.")
(license license:expat)))
+(define-public python-siosocks
+ (package
+ (name "python-siosocks")
+ (version "0.3.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "siosocks" version))
+ (sha256
+ (base32
+ "0qqxy8wl5mrmlkblzjq9nsg0cbm5jwgj409mhnhq6gd1ypvbndms"))))
+ (build-system python-build-system)
+ (arguments
+ (list #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vvv")))))))
+ (native-inputs (list python-pytest python-pytest-asyncio python-pytest-cov
+ python-pytest-trio))
+ (propagated-inputs (list python-trio))
+ (home-page "https://github.com/pohmelie/siosocks")
+ (synopsis "SOCKSv4 & SOCKSv5 TCP proxy protocol implementation in Python")
+ (description
+ "This package provides a Python module and framework for sans-io socks
proxy
+client/server with couple io backends.
+
+Features:
+@itemize
+@item Only TCP connect (no BIND, no UDP)
+@item Both client and server
+@item SOCKS versions: 4, 4a, 5
+@item SOCKSv5 auth: no auth, username/password
+@item Couple io backends: @code{asyncio}, @code{trio}, @code{socketserver}
+@item One-shot socks server (@code{python -m siosocks})
+@end itemize")
+ (license license:expat)))
+
(define-public python-msrest
(package
(name "python-msrest")
- branch master updated (b670dc6c8a -> 2c1fc058c5), guix-commits, 2022/11/07
- 02/11: gnu: Add siosocks.,
guix-commits <=
- 01/11: services: gitolite: Add local-code configuration option., guix-commits, 2022/11/07
- 07/11: gnu: Add avr-gdb., guix-commits, 2022/11/07
- 03/11: gnu: Add aioftp., guix-commits, 2022/11/07
- 04/11: gnu: Add pytest-socket., guix-commits, 2022/11/07
- 09/11: gnu: rlwrap: Update to 0.46.1., guix-commits, 2022/11/07
- 05/11: gnu: Add parfive., guix-commits, 2022/11/07
- 11/11: gnu: teximpatient: Update to 2.4-0.e3666ab., guix-commits, 2022/11/07
- 10/11: services: qemu-binfmt: Add x86_64 QEMU target., guix-commits, 2022/11/07
- 08/11: build-system/linux-module: Add #:source-directory to linux-module-build-cross., guix-commits, 2022/11/07
- 06/11: gnu: Add kconfig-hardened-check., guix-commits, 2022/11/07