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

commit 5c12435b49572fcb0783c381405fd5542245dfaf
Author: Efraim Flashner <efr...@flashner.co.il>
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 <h.goe...@crazy-compilers.com>
 ;;; Copyright © 2020 Arun Isaac <arunis...@systemreboot.net>
 ;;; Copyright © 2020 John Soo <js...@asu.edu>
-;;; Copyright © 2020, 2023, 2024 Efraim Flashner <efr...@flashner.co.il>
+;;; Copyright © 2020, 2023-2025 Efraim Flashner <efr...@flashner.co.il>
 ;;; Copyright © 2020-2022, 2024 Nicolas Goaziou <m...@nicolasgoaziou.fr>
 ;;; Copyright © 2022 Aleksandr Vityazev <avitya...@posteo.org>
 ;;; Copyright © 2023 Steve George <st...@futurile.net>
@@ -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")

Reply via email to