From 599bc507e4f3d4d1df1a6bd69857b7223de4336a Mon Sep 17 00:00:00 2001 From: Hanketsu Date: Fri, 28 Feb 2025 01:45:59 +0100 Subject: battering: Add python-uritools. * battering/packages/python-xyz.scm (python-uritools): New variable. --- battering/packages/python-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'battering/packages/python-xyz.scm') 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))) -- cgit v1.2.3