Subject: [PATCH 128/156] gnu: Add rust-stable-pattern-0.1.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:53:45 +0100

* gnu/packages/crates-io.scm (rust-stable-pattern-0.1): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0303119df86..b85f1bd4f12 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71009,6 +71009,26 @@ (define-public rust-st-map-0.1
     (description "This package provides a runtime for a stack-alocated map.")
     (license license:expat)))
 
+(define-public rust-stable-pattern-0.1
+  (package
+    (name "rust-stable-pattern")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "stable-pattern" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0i8hq82vm82mqj02qqcsd7caibrih7x5w3a1xpm8hpv30261cr25"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-memchr" ,rust-memchr-2))))
+    (home-page "https://github.com/SergioBenitez/stable-pattern")
+    (synopsis "Stable port of std::str::Pattern and friends.")
+    (description "Stable port of std::str::Pattern and friends.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-stable-deref-trait-1
   (package
     (name "rust-stable-deref-trait")
-- 
2.41.0