summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2025-01-01 22:36:19 +0100
committerRicardo Wurmus <rekado@elephly.net>2025-01-20 21:37:30 +0100
commit7060bbb080c7fcb4619c3bec2f4cad79c11a0782 (patch)
treedd9c96f241d3b9cc0e7c25d869b665fcf4317a99 /gnu/packages/python-web.scm
parent2814ef23a356856b8664694e0005f7c5a8e5da56 (diff)
gnu: Add python-tiny-proxy.
* gnu/packages/python-web.scm (python-tiny-proxy): New variable. Change-Id: Ia0493c910ea30922298350dd9f4145b4d1efe8f2
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index daaecb257a..1868f2d123 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8538,6 +8538,32 @@ Features:
@end itemize")
(license license:expat)))
+(define-public python-tiny-proxy
+ (package
+ (name "python-tiny-proxy")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "tiny_proxy" version))
+ (sha256
+ (base32 "05nq62fn3p7s1a6dkdvnrzmk39d9ddrzb3pqbbli025qs3m9j1bq"))))
+ (build-system pyproject-build-system)
+ ;; There are only a handful of tests and they require the as yet
+ ;; unpackaged httpx_socks.
+ (arguments (list #:tests? #false))
+ (propagated-inputs (list python-anyio))
+ (native-inputs
+ (list python-httpx
+ python-pytest
+ python-setuptools
+ python-wheel))
+ (home-page "https://github.com/romis2012/tiny-proxy")
+ (synopsis "Simple proxy server (SOCKS4(a), SOCKS5(h), HTTP tunnel)")
+ (description "This package provides a simple proxy server (SOCKS4(a),
+SOCKS5(h), HTTP tunnel).")
+ (license license:asl2.0)))
+
(define-public python-azure-nspkg
(package
(name "python-azure-nspkg")