aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-20 21:38:20 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-21 16:23:57 +0200
commitd304015f22aa83ce7c414b5c88b04156f3e176c5 (patch)
tree06d27303876c61fd37b55eae23539b1120912c52
parent5381d5c49ff8b3637a791cfbaedd5a4583c1bb5c (diff)
downloadguix-d304015f22aa83ce7c414b5c88b04156f3e176c5.tar
guix-d304015f22aa83ce7c414b5c88b04156f3e176c5.tar.gz
gnu: Add rust-aho-corasick-0.6.
* gnu/packages/crates-io.scm (rust-aho-corasick-0.6.): New variable.
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2bd3367a97..152bff7d40 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -151,6 +151,33 @@ Rust, using gimli.")
"Fast multiple substring searching.")
(license (list license:unlicense license:expat))))
+(define-public rust-aho-corasick-0.6
+ (package
+ (inherit rust-aho-corasick-0.7)
+ (name "rust-aho-corasick")
+ (version "0.6.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aho-corasick" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "19f8v503ibvlyr824g5ynicrh1lsmp2i0zmpszr8lqay0qw3vkl1"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-memchr" ,rust-memchr-2.2))
+ #:cargo-development-inputs
+ (("rust-csv" ,rust-csv-1.1)
+ ("rust-docopt" ,rust-docopt-1.1)
+ ("rust-memmap" ,rust-memmap-0.6)
+ ("rust-quickcheck" ,rust-quickcheck-0.7)
+ ("rust-rand" ,rust-rand-0.5)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-derive" ,rust-serde-derive-1.0))))))
+
(define-public rust-ansi-term-0.11
(package
(name "rust-ansi-term")