summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-05-07 21:26:39 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-13 20:18:38 +0000
commit34cd6beab0205d6734f96e33faeca449503e014f (patch)
tree4a7c4607431aa188ba478caf8fbec0388036dfed
parentd1df1a80f604f634ede753484bde51e873cb7e22 (diff)
gnu: Add python-fqdn.
* gnu/packages/python-xyz.scm (python-fqdn): New variable. Change-Id: If0355f15374ee7db23bfb54eb682575e59708d05
-rw-r--r--gnu/packages/python-xyz.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c60f71cd50..7f0fedd197 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -919,6 +919,27 @@ documentation of programming languages.")
@code{docspec} data from Python source code.")
(license license:expat)))
+(define-public python-fqdn
+ (package
+ (name "python-fqdn")
+ (version "1.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "fqdn" version))
+ (sha256
+ (base32 "17yqckhymnamszhg06751c83rg3fnr5iy33a135bazvngrkx6phh"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #false)) ;there are none
+ (propagated-inputs (list python-cached-property))
+ (native-inputs (list python-setuptools python-wheel))
+ (home-page "https://github.com/ypcrts/fqdn")
+ (synopsis "Validate domain names against RFC 1123")
+ (description
+ "This package validates fully-qualified domain names against RFC 1123, so
+that they are acceptable to modern bowsers")
+ (license license:mpl2.0)))
+
(define-public python-fire
(package
(name "python-fire")