Subject: [PATCH rust-team 16/89] gnu: rust-sanitize-filename-0.5: New variable.

From: Aaron Covrig <[email-masked]>
Date: Sun, 19 Jan 2025 17:48:50 -0500

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4c4c9d5cf7..4e24789a1e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68261,6 +68261,22 @@ (define-public rust-sanitize-filename-0.6
 @url{https://www.npmjs.com/package/sanitize-filename, sanitize-filename}.")
     (license (list license:expat))))
 
+(define-public rust-sanitize-filename-0.5
+  (package
+    (inherit rust-sanitize-filename-0.6)
+    (name "rust-sanitize-filename")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sanitize-filename" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "00r6awai2bs8xsl3fc2fqzby7yy4crlr28s9fi0jsvwfyyx2zmrf"))))
+    (arguments
+     `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-regex" ,rust-regex-1))))))
+
 (define-public rust-sc-0.2
   (package
     (name "rust-sc")
-- 
2.47.1