guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

70/361: gnu: Add python-fqdn.


From: guix-commits
Subject: 70/361: gnu: Add python-fqdn.
Date: Thu, 21 Nov 2024 06:28:51 -0500 (EST)

sharlatan pushed a commit to branch python-team
in repository guix.

commit b021a195e5bc75e6bbc3a0418f505e316c37c77b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 7 21:26:39 2024 +0200

    gnu: Add python-fqdn.
    
    * gnu/packages/python-xyz.scm (python-fqdn): New variable.
    
    Change-Id: If0355f15374ee7db23bfb54eb682575e59708d05
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6419295948..d805e80e79 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]