Subject: [bug#71076] [PATCH 11/81] gnu: Add rust-const-str-proc-macro-0.5.

From: Herman Rimm <[email-masked]>
Date: Mon, 20 May 2024 10:58:16 +0200

* gnu/packages/crates-io.scm (rust-const-str-proc-macro-0.5): Add
variable.

Change-Id: I9a1dd129fa532105eb4c544600647c22c55d8ba3
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3e4e3b5449..7cc43f2cfb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15710,6 +15710,33 @@ (define-public rust-const-sha1-0.2
      "This package provides a sha1 implementation for use in const contexts.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-const-str-proc-macro-0.5
+  (package
+    (name "rust-const-str-proc-macro")
+    (version "0.5.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "const-str-proc-macro" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+          "1gw4kzrrgrsgggi765xkq0svqdjw6rqp97nyyvp3a96dghbhfc1x"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-inputs (list rust-heck-0.4
+                           rust-http-1
+                           rust-proc-macro2-1
+                           rust-quote-1
+                           rust-regex-1
+                           rust-syn-2)))
+    (home-page "https://github.com/Nugine/const-str")
+    (synopsis "Macros for compile-time string operations")
+    (description
+     "This package provides macros for compile-time string operations.")
+    (license license:expat)))
+
 (define-public rust-constant-time-eq-0.3
   (package
     (name "rust-constant-time-eq")
-- 
2.41.0