aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanketsu <hanketsu@egregore.fun>2025-03-04 12:01:54 +0100
committerHanketsu <hanketsu@egregore.fun>2025-06-13 00:04:46 +0200
commit59a372e3f9733e2c8f859b499a2d76160b53c8fd (patch)
tree98dc4702fc13f7161842b5990e2ad02248887c39
parent8944a60d4767dde88165619c22a758bb95f78819 (diff)
battering: Add python-torrequest.
* battering/packages/python-xyz.scm (python-torrequest): New variable.
-rw-r--r--battering/packages/python-xyz.scm19
1 files changed, 19 insertions, 0 deletions
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)))