efraim pushed a commit to branch rust-team
in repository guix.
commit 8633063b6a79b94fe3604a2c4842b504425ce9e1
Author: Efraim Flashner <[email protected]>
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")