[bug#75677,rust-team,v2,12/81] gnu: rust-sanitize-filename-0.5: New variable.

Message ID 20250308033446.2101481-13-aaron.covrig.us@ieee.org
State New
Headers
Series Assorted package updates for rust-team |

Commit Message

Aaron Covrig March 8, 2025, 3:33 a.m. UTC
  * gnu/packages/crates-io.scm (rust-sanitize-filename-0.5): New variable.
---
 gnu/packages/crates-io.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c8ef158e83..e42f498766 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69517,6 +69517,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")