guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 8a905ad9e6a079d120fe4303ca09391146fc3d7d
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Jul 7 19:33:19 2026 +0100
gnu: Add python-rfc3987-syntax.
* gnu/packages/python-xyz.scm (python-rfc3987-syntax): New variable.
Relates-to: guix/guix!8930
Co-authored-by: Kevin Deldycke <[email protected]>
---
gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 69d5407e39..ff543540ef 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25948,6 +25948,35 @@ document (see RFC 6901).")
applying JSON Patches according to RFC 6902.")
(license license:bsd-3)))
+(define-public python-rfc3987-syntax
+ (package
+ (name "python-rfc3987-syntax")
+ (version "1.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/willynilly/rfc3987-syntax")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "13nmzq1ra5660c3k29c937q4kwq7qj7z6dv9bgr1ph57qb3kyc7a"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-hatchling
+ python-pytest))
+ (propagated-inputs
+ (list python-lark))
+ (home-page "https://github.com/willynilly/rfc3987-syntax")
+ (synopsis "RFC 3987 IRI validation built on a Lark grammar")
+ (description
+ "This package validates Internationalized Resource Identifiers (IRIs) and
+their components against the ABNF grammar from RFC 3987. Built on the Lark
+parser, it is an MIT-licensed alternative to the GPL-licensed @code{rfc3987}
+package, and provides the @code{format-nongpl} extra required by recent
+@code{jsonschema} releases.")
+ (license license:expat)))
+
(define-public python-rfc3986
(package
(name "python-rfc3986")