guix-commits
[Top][All Lists]
Advanced

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

08/46: gnu: Add python-fqdn.


From: guix-commits
Subject: 08/46: gnu: Add python-fqdn.
Date: Tue, 7 May 2024 18:33:59 -0400 (EDT)

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

commit 2c4dab8e597d2ae81fe3c1842071915edaa22383
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 e8d884fb96..63a3ec4f95 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -831,6 +831,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]