Subject: [bug#74519] [PATCH rust-team 04/30] gnu: Add rust-nucleo-matcher-0.2.

From: Murilo <[email-masked]>
Date: Sun, 24 Nov 2024 23:48:15 -0300

* gnu/packages/crates-io.scm (rust-nucleo-matcher-0.2): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 354be18353..9f41b2b3ed 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42947,6 +42947,29 @@ (define-public rust-nucleo-0.2
      "This package provides plug and play high performance fuzzy matcher.")
     (license license:mpl2.0)))
 
+(define-public rust-nucleo-matcher-0.2
+  (package
+    (name "rust-nucleo-matcher")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nucleo-matcher" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0mxxz58acszkgxha4wy459fkcx6f8sh55d803wnid1p25x02nw0v"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-cov-mark" ,rust-cov-mark-1)
+                       ("rust-memchr" ,rust-memchr-2)
+                       ("rust-unicode-segmentation" ,rust-unicode-segmentation-1))
+       #:cargo-development-inputs (("rust-cov-mark" ,rust-cov-mark-1))))
+    (home-page "https://github.com/helix-editor/nucleo")
+    (synopsis "Plug and play high performance fuzzy matcher")
+    (description
+     "This package provides plug and play high performance fuzzy matcher.")
+    (license license:mpl2.0)))
+
 (define-public rust-rust-lzma-0.5
   (package
     (name "rust-rust-lzma")
-- 
2.46.0