Subject: [bug#69890] [PATCH 32/43] gnu: Add rust-stable-pattern-0.1.

From: normalmente <[email-masked]>
Date: Tue, 19 Mar 2024 03:51:03 +0000

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index de1d2beec5..dc1b407431 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65244,6 +65244,28 @@ (define-public rust-stable-deref-trait-1
     (license (list license:asl2.0
                    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
+     `(#:tests? #f ; Unresolved imports.
+       #:cargo-inputs (("rust-memchr" ,rust-memchr-2))))
+    (home-page "https://github.com/SergioBenitez/stable-pattern")
+    (synopsis "Stable port of @code{std::str::Pattern} and friends")
+    (description
+     "This package provides a stable port of @code{std::str::Pattern} and
+friends.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-stacker-0.1
   (package
     (name "rust-stacker")
-- 
2.41.0