guix-commits
[Top][All Lists]
Advanced

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

231/422: gnu: Add rust-hostname-validator-1.


From: guix-commits
Subject: 231/422: gnu: Add rust-hostname-validator-1.
Date: Wed, 6 Nov 2024 04:02:28 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 1c428cbcf2c386e06211b2a32f241fc31d9df9d1
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Sep 22 21:20:26 2024 +0300

    gnu: Add rust-hostname-validator-1.
    
    * gnu/packages/crates-io.scm (rust-hostname-validator-1): New variable.
    
    Change-Id: I093f2333799766f1616742a979d1407a9249b5de
---
 gnu/packages/crates-io.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1c86465939..ced0f0fea4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32743,6 +32743,24 @@ provided for each type.")
        (("rust-libc" ,rust-libc-0.2)
         ("rust-winutil" ,rust-winutil-0.1))))))
 
+(define-public rust-hostname-validator-1
+  (package
+    (name "rust-hostname-validator")
+    (version "1.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hostname-validator" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1qh5sxkckalibc28029ndnfd7w0s8mwvb68d82xbb25gr55acn7m"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/pop-os/hostname-validator";)
+    (synopsis "Validate hostnames according to IETF RFC 1123")
+    (description
+     "This package provides a way to validate hostnames according to IETF RFC 
1123.")
+    (license license:expat)))
+
 (define-public rust-hound-3
   (package
     (name "rust-hound")



reply via email to

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