gnu: Add python-tiny-proxy.

* gnu/packages/python-web.scm (python-tiny-proxy): New variable.

Change-Id: Ia0493c910ea30922298350dd9f4145b4d1efe8f2
This commit is contained in:
Ricardo Wurmus 2025-01-01 22:36:19 +01:00 committed by Janneke Nieuwenhuizen
parent aa51ad350a
commit ee3a3e5a98
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -8277,6 +8277,32 @@ (define-public python-siosocks
@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")