efraim pushed a commit to branch rust-team
in repository guix.
commit 5c12435b49572fcb0783c381405fd5542245dfaf
Author: Efraim Flashner <[email protected]>
AuthorDate: Tue Feb 18 08:06:09 2025 +0200
gnu: Add rust-punycode-0.4.
* gnu/packages/crates-web.scm (rust-punycode-0.4): New variable.
Change-Id: I8b97e9f0ce3877ae857e55b8edf4aa428f803942
---
gnu/packages/crates-web.scm | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 7ed571a384..2f23365390 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2020 Hartmut Goebel <[email protected]>
;;; Copyright © 2020 Arun Isaac <[email protected]>
;;; Copyright © 2020 John Soo <[email protected]>
-;;; Copyright © 2020, 2023, 2024 Efraim Flashner <[email protected]>
+;;; Copyright © 2020, 2023-2025 Efraim Flashner <[email protected]>
;;; Copyright © 2020-2022, 2024 Nicolas Goaziou <[email protected]>
;;; Copyright © 2022 Aleksandr Vityazev <[email protected]>
;;; Copyright © 2023 Steve George <[email protected]>
@@ -5433,6 +5433,30 @@ in the Rust programming language.")
(description "This package provides macros for poem.")
(license (list license:expat license:asl2.0))))
+(define-public rust-punycode-0.4
+ (package
+ (name "rust-punycode")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "punycode" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zm5722qaz1zhxb5nxnisj009crrknjs9xv4vdp9z0yn42rxrqg9"))
+ (snippet
+ #~(begin (use-modules (guix build utils))
+ ;; Clippy was integrated into rust-1.29.
+ (substitute* "Cargo.toml.orig"
+ ((".*clippy.*") ""))
+ (rename-file "Cargo.toml.orig" "Cargo.toml")))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/mcarton/rust-punycode.git")
+ (synopsis "Functions to decode and encode Punycode")
+ (description
+ "This package provides functions to decode and encode Punycode.")
+ (license license:expat)))
+
(define-public rust-reqwest-0.12
(package
(name "rust-reqwest")