guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

191/299: gnu: Add rust-aho-corasick-0.7.


From: guix-commits
Subject: 191/299: gnu: Add rust-aho-corasick-0.7.
Date: Thu, 2 Jan 2020 13:19:43 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit d832bcb613012ffa13355b14c162819f43ad562d
Author: John Soo <address@hidden>
Date:   Sun Dec 15 09:46:32 2019 -0800

    gnu: Add rust-aho-corasick-0.7.
    
    * gnu/packages/crates-io.scm (rust-aho-corasick-0.7): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 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 bea81e1..7319538 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -123,6 +123,29 @@ Rust, using gimli.")
      "Fuzz Rust code with american-fuzzy-lop.")
     (license license:asl2.0)))
 
+(define-public rust-aho-corasick-0.7
+  (package
+    (name "rust-aho-corasick")
+    (version "0.7.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aho-corasick" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0k1nqabiz37mnfnlrn084qi9yf8pj6a38qgbb3lc5zlr1jp89x76"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-memchr" ,rust-memchr-2.2))))
+    (home-page "https://github.com/BurntSushi/aho-corasick";)
+    (synopsis "Fast multiple substring searching")
+    (description
+     "Fast multiple substring searching.")
+    (license (list license:unlicense license:expat))))
+
 (define-public rust-ansi-term-0.11
   (package
     (name "rust-ansi-term")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]