* gnu/packages/rust.scm (rust-clippy-lints): New variable. --- gnu/packages/rust.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 825893a2b..f6c9c729b 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -1942,3 +1942,32 @@ the version of a installed rustc compiler.") (description "Nix provides Rust friendly bindings to *nix APIs.") (license license:expat))) + +(define-public rust-clippy-lints + (package + (name "rust-clippy-lints") + (version "0.0.104") + (source + (origin + (method url-fetch) + (uri (crate-uri "clippy_lints" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ixil0j9mlyj59crkszj11sw4ar61377sm95s5vr5pm8q4kj10bh")))) + (build-system cargo-build-system) + (inputs + `(("rust-matches" ,rust-matches "src") + ("rust-quine-mc-cluskey" ,rust-quine-mc-cluskey "src") + ("rust-regex-syntax" ,rust-regex-syntax "src") + ("rust-rustc-serialize" ,rust-rustc-serialize "src") + ("rust-semver" ,rust-semver "src") + ("rust-toml" ,rust-toml "src") + ("rust-unicode-normalization" ,rust-unicode-normalization "src"))) + (home-page "https://github.com/Manishearth/rust-clippy") + (synopsis "Collection of helpful lints to avoid common pitfalls in Rust") + (description + "Clippy-lints provides a collection of helpful lints to +avoid common pitfalls in Rust.") + (license license:mpl2.0))) -- 2.11.0