* gnu/packages/rust.scm (rust-regex-syntax): New variable. --- gnu/packages/rust.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index b6946e825..8d7a67550 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -1633,3 +1633,26 @@ of the substrings concatenated. Matching against search text is O(n + p + m), where n is the length of the search text and m is the number of matches.") (license (list license:unlicense license:expat)))) + +(define-public rust-regex-syntax + (package + (name "rust-regex-syntax") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "regex-syntax" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ms4s2zdr9lr79isjphqqg2wkc8rblvpwcax21ghj0vnynqr349g")))) + (build-system cargo-build-system) + (native-inputs + `(("rust-quickcheck" ,rust-quickcheck "src") + ("rust-rand" ,rust-rand "src"))) + (home-page "https://github.com/rust-lang/regex") + (synopsis "Regular expression parser") + (description + "Regex-syntax provides a regular expression parser.") + (license (list license:expat license:asl2.0)))) -- 2.11.0