guix-commits
[Top][All Lists]
Advanced

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

55/299: gnu: Add rust-clippy-0.0.


From: guix-commits
Subject: 55/299: gnu: Add rust-clippy-0.0.
Date: Thu, 2 Jan 2020 13:19:11 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 2fac90978d86ad3edd8a38e084e4b73ad9e3ce15
Author: John Soo <address@hidden>
Date:   Sat Dec 14 13:40:19 2019 -0800

    gnu: Add rust-clippy-0.0.
    
    * gnu/packages/crates-io.scm (rust-clippy-0.0): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0196015..4f46be6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -675,6 +675,32 @@ colorization.")
     (properties '((hidden? . #t)))
     (license license:expat)))
 
+(define-public rust-clippy-0.0
+  (package
+    (name "rust-clippy")
+    (version "0.0.302")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "clippy" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1562x3sq9mgmc8j39gd34wqm7ybrdvpmj7cc1n450gwsawayw4fr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-term" ,rust-term-0.5.1))))
+    (home-page "https://github.com/rust-lang/rust-clippy";)
+    (synopsis
+     "Lints to avoid common pitfalls in Rust")
+    (description
+     "This package provides a bunch of helpful lints to avoid common
+pitfalls in Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-cloudabi-0.0
   (package
     (name "rust-cloudabi")



reply via email to

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