* gnu/packages/rust.scm (rust-matches): New variable. --- gnu/packages/rust.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 6f147d9ba..e68c62dd8 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -885,3 +885,24 @@ at build time in order to be used in Cargo build scripts.") (synopsis "OpenSSL bindings for Rust") (description "OpenSSL bindings for Rust") (license license:expat))) + +(define-public rust-matches + (package + (name "rust-matches") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "matches" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1c8190j84hbicy8jwscw5icfam12j6lcxi02lvmadq9260p65mzg")))) + (build-system cargo-build-system) + (home-page "https://github.com/SimonSapin/rust-std-candidates") + (synopsis "Macro to evaluate whether an expression matches a pattern") + (description + "This package provides a macro to evaluate, as a boolean, +whether an expression matches a pattern.") + (license license:expat))) -- 2.11.0