aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanketsu <hanketsu@egregore.fun>2025-02-28 01:45:59 +0100
committerHanketsu <hanketsu@egregore.fun>2025-06-13 00:04:33 +0200
commit599bc507e4f3d4d1df1a6bd69857b7223de4336a (patch)
tree1342d247f0ac8b0545c6dbf7c62fe2235e35386e
parent6d875f701dfd7ba861cdd1113c261b74f6281dbf (diff)
battering: Add python-uritools.
* battering/packages/python-xyz.scm (python-uritools): 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 ec664af..39274bd 100644
--- a/battering/packages/python-xyz.scm
+++ b/battering/packages/python-xyz.scm
@@ -221,3 +221,22 @@ verification and KDFs using the OS crypto libraries. Does not require a
compiler, and relies on the OS for patching. Works on Windows, OS X and
Linux/BSD.")
(license license:expat)))
+
+(define-public python-uritools
+ (package
+ (name "python-uritools")
+ (version "4.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "uritools" version))
+ (sha256
+ (base32 "1hivmsycmvmymavx29295bfqxk5a75sr3ynmx564cjf8m61a21pf"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-setuptools python-wheel))
+ (home-page "https://github.com/tkem/uritools/")
+ (synopsis "URI parsing, classification and composition")
+ (description "This module provides RFC 3986 compliant functions for
+parsing, classifying and composing URIs and URI references, largely replacing
+the Python Standard Library’s @code{urllib.parse} module.")
+ (license license:expat)))