[bug#75391,09/12] gnu: Add rust-new-string-template-1.

Message ID 3944d669f38c43a9d94c08bd8b1483389443a364.1736117349.git.wongandj@icloud.com
State New
Headers
Series gnu: Add wallust. |

Commit Message

Andrew Wong Jan. 5, 2025, 11:01 p.m. UTC
  * gnu/packages/crates-io.scm (rust-new-string-template-1): New variable.

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

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 94909c8ef8..26c3837721 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45101,6 +45101,28 @@  (define-public rust-new-debug-unreachable-1
 release (fork of debug_unreachable)")
     (license license:expat)))
 
+(define-public rust-new-string-template-1
+  (package
+    (name "rust-new-string-template")
+    (version "1.5.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "new_string_template" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1svmx6a6qqz70mhrgz77bi9ifpnlpwpslqzvdbw557jc6d9ih3y5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-regex" ,rust-regex-1))))
+    (home-page "https://github.com/hasezoey/new_string_template")
+    (synopsis "Simple Customizable String-Templating Library for Rust")
+    (description
+     "This package provides Simple Customizable String-Templating Library for Rust.")
+    (license license:expat)))
+
 ;; Keep this package for future packaging of NewsFlash.
 (define-public rust-news-flash-1
   (package