Subject: [bug#75677] [PATCH rust-team v2 11/81] gnu: rust-sanitize-filename-0.6: New variable.

From: Aaron Covrig <[email-masked]>
Date: Fri, 7 Mar 2025 22:33:17 -0500

* gnu/packages/crates-io.scm (rust-sanitize-filename-0.6): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6b318e7fe5..c8ef158e83 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69496,6 +69496,27 @@ (define-public rust-sanakirja-core-1
 (or elsewhere) with a stable format.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-sanitize-filename-0.6
+  (package
+    (name "rust-sanitize-filename")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sanitize-filename" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0kd37m2nd364vj09f330y853fmnw2yyy7hsmnxxnlwzbki7lz65w"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-regex" ,rust-regex-1))))
+    (home-page "https://github.com/kardeiz/sanitize-filename")
+    (synopsis "Simple filename sanitizer")
+    (description
+     "A basic filename sanitizer, based on Node's
+@url{https://www.npmjs.com/package/sanitize-filename, sanitize-filename}.")
+    (license (list license:expat))))
+
 (define-public rust-sc-0.2
   (package
     (name "rust-sc")
-- 
2.48.1