From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 71/86] gnu: Add rust-clippy-lints. Date: Tue, 3 Jan 2017 23:36:27 +0000 Message-ID: <20170103233642.3181-72-ng0@libertad.pw> References: <20170103233642.3181-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOYfR-0004aO-TD for guix-devel@gnu.org; Tue, 03 Jan 2017 18:38:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOYfQ-0002IE-Lm for guix-devel@gnu.org; Tue, 03 Jan 2017 18:38:57 -0500 Received: from aibo.runbox.com ([91.220.196.211]:33512) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOYfQ-0002Hi-EU for guix-devel@gnu.org; Tue, 03 Jan 2017 18:38:56 -0500 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cOYfP-0002yz-78 for guix-devel@gnu.org; Wed, 04 Jan 2017 00:38:55 +0100 In-Reply-To: <20170103233642.3181-1-ng0@libertad.pw> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * 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