diff mbox series

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

Message ID aad7a401d2cd9cacd0ec87dafcb006ce453e1972.1710817681.git.normally_js@posteo.net
State New
Headers show
Series gnu: Add procs. | expand

Commit Message

normally_js March 19, 2024, 3:51 a.m. UTC
* 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 mbox series

Patch

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")