Subject: [PATCH 143/228] gnu: Add rust-wildmatch-2.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:08:33 +0100

* gnu/packages/crates-io.scm (rust-wildmatch-2): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2df80ea510..8ad5462042 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80080,6 +80080,31 @@ (define-public rust-wild-2
 command-line, uniformly on all platforms")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-wildmatch-2
+  (package
+    (name "rust-wildmatch")
+    (version "2.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wildmatch" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1szw6lfswk6ldr9d1bj3pin5bj32jckg0907yh2m0d61ydxw8pj9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
+                                   ("rust-glob" ,rust-glob-0.3)
+                                   ("rust-ntest" ,rust-ntest-0.7)
+                                   ("rust-regex" ,rust-regex-1))))
+    (home-page "https://github.com/becheran/wildmatch")
+    (synopsis "String matching with multi-character wildcard operator.")
+    (description
+     "This package provides simple string matching with single- and
+multi-character wildcard operator.")
+    (license license:expat)))
+
 (define-public rust-winnow-0.5
   (package
     (name "rust-winnow")
-- 
2.41.0