diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-01-20 21:35:21 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-21 16:23:56 +0200 |
commit | 5381d5c49ff8b3637a791cfbaedd5a4583c1bb5c (patch) | |
tree | 36624ea43728a828db03c9eb9eadd9df8f7eda26 | |
parent | 2f1fe591d1073465f05a73e21b10ee653c138c40 (diff) | |
download | guix-5381d5c49ff8b3637a791cfbaedd5a4583c1bb5c.tar guix-5381d5c49ff8b3637a791cfbaedd5a4583c1bb5c.tar.gz |
gnu: Add rust-regex-0.2.
* gnu/packages/crates-io.scm (rust-regex-0.2): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c3f32d0b32..2bd3367a97 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8927,6 +8927,34 @@ uses finite automata and guarantees linear time matching on all inputs.") ("rust-quickcheck" ,rust-quickcheck-0.8) ("rust-rand" ,rust-rand-0.4)))))) +(define-public rust-regex-0.2 + (package + (inherit rust-regex-1.3) + (name "rust-regex") + (version "0.2.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "regex" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1163ir1k5zjspirfjl4wqbviwrxlhmfwy95xxb69y4irkv4snack")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-aho-corasick" ,rust-aho-corasick-0.6) + ("rust-memchr" ,rust-memchr-2.2) + ("rust-regex-syntax" ,rust-regex-syntax-0.5) + ("rust-thread-local" ,rust-thread-local-0.3) + ("rust-utf8-ranges" ,rust-utf8-ranges-1.0)) + #:cargo-development-inputs + (("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-quickcheck" ,rust-quickcheck-0.6) + ("rust-rand" ,rust-rand-0.4)))))) + (define-public rust-regex-automata-0.1 (package (name "rust-regex-automata") |