summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-05-07 15:42:10 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-13 20:18:37 +0000
commit3e331830219512ed112b61befeb3cd9353cc8ca3 (patch)
tree4603f8bf5e6ded1a03122293a7d4c634750f7e01 /gnu
parent16ae869fef69d89eafe3e156f7aa6fed9776f5d6 (diff)
gnu: Add python-rfc3986-validator.
* gnu/packages/python-xyz.scm (python-rfc3986-validator): New variable. Change-Id: If63c2d8798bc8efd021e6ab008cd5017b3dc7fd1
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e5dbe28264..f7aba9ebd6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25540,6 +25540,30 @@ manipulation, or @code{stdout}.")
which adds support for zone identifiers to IPv6 addresses.")
(license license:asl2.0)))
+(define-public python-rfc3986-validator
+ (package
+ (name "python-rfc3986-validator")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "rfc3986_validator" version))
+ (sha256
+ (base32 "0mfh82r37ma5n54n8ibnqvmwr3j3f2ixqfjfmv1rwfqvjbkvsi1x"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pip
+ python-pytest
+ python-pytest-runner
+ python-rfc3987
+ python-setuptools
+ python-wheel))
+ (home-page "https://github.com/naimetti/rfc3986-validator")
+ (synopsis "Pure python rfc3986 validator")
+ (description "This package implements a URI validator according to RFC3986
+in pure Python.")
+ (license license:expat)))
+
(define-public python-rfc3987
(package
(name "python-rfc3987")