From 59a372e3f9733e2c8f859b499a2d76160b53c8fd Mon Sep 17 00:00:00 2001 From: Hanketsu Date: Tue, 4 Mar 2025 12:01:54 +0100 Subject: battering: Add python-torrequest. * battering/packages/python-xyz.scm (python-torrequest): New variable. --- battering/packages/python-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'battering') diff --git a/battering/packages/python-xyz.scm b/battering/packages/python-xyz.scm index 3bd68ac..1afd54f 100644 --- a/battering/packages/python-xyz.scm +++ b/battering/packages/python-xyz.scm @@ -663,3 +663,22 @@ that do not support Arabic text.") (synopsis "PDF generator using HTML and CSS") (description "A library for converting HTML into PDFs using ReportLab.") (license license:asl2.0))) + +(define-public python-torrequest + (package + (name "python-torrequest") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "torrequest" version)) + (sha256 + (base32 "10mf9p6r4wwk9m50jh5bpmvsnymkmn3wfqs30dx8vagx7zmd8i9p")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-pysocks python-requests python-stem)) + (native-inputs (list python-setuptools python-wheel)) + (home-page "http://github.com/erdiaker/torrequest") + (synopsis "A simple interface for HTTP(s) requests over Tor") + (description + "This package provides a simple interface for HTTP(s) requests over Tor.") + (license license:expat))) -- cgit v1.2.3