guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 72/86] gnu: Add rust-clippy.


From: ng0
Subject: [PATCH 72/86] gnu: Add rust-clippy.
Date: Tue, 3 Jan 2017 23:36:28 +0000

* gnu/packages/rust.scm (rust-clippy): New variable.
---
 gnu/packages/rust.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index f6c9c729b..aed225faa 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1971,3 +1971,33 @@ the version of a installed rustc compiler.")
      "Clippy-lints provides a collection of helpful lints to
 avoid common pitfalls in Rust.")
     (license license:mpl2.0)))
+
+(define-public rust-clippy
+  (package
+    (name "rust-clippy")
+    (version "0.0.104")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "clippy" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0d4fbg7j1rw1i2plx67inpafilgjkwclyvblirlqp812x5hv6gxf"))))
+    (build-system cargo-build-system)
+    (native-inputs
+     `(("rust-clippy-mini-macro-test" ,rust-clippy-mini-macro-test "src")
+       ("rust-compiletest-rs" ,rust-compiletest-rs "src")
+       ("rust-lazy-static" ,rust-lazy-static "src")
+       ("rust-regex" ,rust-regex "src")
+       ;; TODO: ("rust-serde" ,rust-serde "src")
+       ("rust-rustc-serialize" ,rust-rustc-serialize "src")))
+    (inputs
+     `(("rust-clippy-lints" ,rust-clippy-lints "src")))
+    (home-page "https://github.com/Manishearth/rust-clippy";)
+    (synopsis "Collection of helpful lints to avoid common pitfalls in Rust")
+    (description
+     "Clippy provides a collection of helpful lints to
+avoid common pitfalls in Rust.")
+    (license license:mpl2.0)))
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]