summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2024-01-08 02:52:56 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:50 +0200
commit5397d4a53dd4e9d6e1ce3a2046ea7c784516d749 (patch)
treecf7781cd276ea81c2e2e17c52048ee7c09734709 /gnu
parent9ea97ee211525d654698efaa6c0bcc318e21514c (diff)
downloadguix-5397d4a53dd4e9d6e1ce3a2046ea7c784516d749.tar.gz
gnu: Add rust-memmem-0.1.
* gnu/packages/crates-io.scm (rust-memmem-0.1): New variable.

Change-Id: Ie8d475c4d10c9c8a776ea68d1393c5bcb7874065
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 38e011405c..878f42f657 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40030,6 +40030,25 @@ file IO.")
        (sha256
         (base32 "0nmymqy9q62x577ydja0ysfyir7h5qa0n5fwcnvchfhhlsi0rdyr"))))))
 
+(define-public rust-memmem-0.1
+  (package
+    (name "rust-memmem")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "memmem" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "05ccifqgxdfxk6yls41ljabcccsz3jz6549l1h3cwi17kr494jm6"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.2))))
+    (home-page "http://github.com/jneem/memmem")
+    (synopsis "Substring searching")
+    (description "This package provides substring searching.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-memo-map-0.3
   (package
     (name "rust-memo-map")