Subject: [PATCH rust-team 2/8] gnu: rust-clippy-0.0: Replace with 0.0.302.

From: Herman Rimm <[email-masked]>
Date: Wed, 25 Dec 2024 12:09:29 +0100

* gnu/packages/crates-io.scm (rust-clippy-0.0): Replace with 0.0.302.
(rust-clap-2, rust-encode-unicode-0.3, rust-lazycell-1,
rust-linked-hash-map-0.4, rust-linked-hash-map-0.3, rust-pcap-0.7,
rust-serde-hjson-0.9, rust-term-size-1, rust-yaml-rust-0.3): Replace
rust-clippy-0.0 with 0.0.302.
* gnu/packages/crates-apple.scm (rust-commoncrypto-0.2,
rust-common-crypto-sys-0.2): Replace rust-clippy-0.0 with 0.0.302.
* gnu/packages/crates-web.scm (rust-multipart-0.18, rust-multipart-0.17,
rust-stdweb-0.1): Replace rust-clippy-0.0 with 0.0.302.
* gnu/packages/crates-windows.scm (rust-winreg-0.5): Replace
rust-clippy-0.0 with 0.0.302.

Change-Id: Ied7f14a778266edc0f3f7ac92fe9a7f4ac6b6a30
---
 gnu/packages/crates-apple.scm   |  4 ++--
 gnu/packages/crates-io.scm      | 22 +++++++++++-----------
 gnu/packages/crates-web.scm     |  6 +++---
 gnu/packages/crates-windows.scm |  2 +-
 4 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm
index 9f03787f81..546ce21e6b 100644
--- a/gnu/packages/crates-apple.scm
+++ b/gnu/packages/crates-apple.scm
@@ -402,7 +402,7 @@ (define-public rust-commoncrypto-0.2
     (arguments
       `(#:skip-build? #t
         #:cargo-inputs
-        (("rust-clippy" ,rust-clippy-0.0)
+        (("rust-clippy" ,rust-clippy-0.0.302)
          ("rust-commoncrypto-sys" ,rust-commoncrypto-sys-0.2))))
     (home-page "https://github.com/malept/rust-commoncrypto")
     (synopsis "Idiomatic Rust wrappers for Mac OS X's CommonCrypto library")
@@ -427,7 +427,7 @@ (define-public rust-commoncrypto-sys-0.2
     (arguments
       `(#:skip-build? #t                ;requires the Mac OS library
         #:cargo-inputs
-        (("rust-clippy" ,rust-clippy-0.0)
+        (("rust-clippy" ,rust-clippy-0.0.302)
          ("rust-libc" ,rust-libc-0.2))))
     (home-page "https://github.com/malept/rust-commoncrypto")
     (synopsis "FFI bindings to Mac OS X's CommonCrypto library")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8d1a866733..b008bd8b4a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14081,7 +14081,7 @@ (define-public rust-clap-2
        (("rust-ansi-term" ,rust-ansi-term-0.12)
         ("rust-atty" ,rust-atty-0.2)
         ("rust-bitflags" ,rust-bitflags-1)
-        ("rust-clippy" ,rust-clippy-0.0)
+        ("rust-clippy" ,rust-clippy-0.0.302)
         ("rust-strsim" ,rust-strsim-0.8)
         ("rust-term-size" ,rust-term-size-0.3)
         ("rust-textwrap" ,rust-textwrap-0.11)
@@ -14700,7 +14700,7 @@ (define-public rust-clicolors-control-1
 colorization.")
     (license license:expat)))
 
-(define-public rust-clippy-0.0
+(define-public rust-clippy-0.0.302
   (package
     (name "rust-clippy")
     (version "0.0.302")
@@ -25386,7 +25386,7 @@ (define-public rust-encode-unicode-0.3
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-ascii" ,rust-ascii-1)
-        ("rust-clippy" ,rust-clippy-0.0))
+        ("rust-clippy" ,rust-clippy-0.0.302))
        #:cargo-development-inputs
        (("rust-lazy-static" ,rust-lazy-static-1))))
     (home-page "https://github.com/tormol/encode_unicode")
@@ -40726,7 +40726,7 @@ (define-public rust-lazycell-1
          "0m8gw7dn30i0zjjpjdyf6pc16c34nl71lpv461mix50x3p70h3c3"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs (("rust-clippy" ,rust-clippy-0.0))))
+     `(#:cargo-inputs (("rust-clippy" ,rust-clippy-0.0.302))))
     (home-page "https://github.com/indiv0/lazycell")
     (synopsis "Lazily filled Cell struct")
     (description
@@ -43232,7 +43232,7 @@ (define-public rust-linked-hash-map-0.4
     (arguments
      `(#:tests? #f  ; thread 'test_into_iter_drop' panicked
        #:cargo-inputs
-       (("rust-clippy" ,rust-clippy-0.0)
+       (("rust-clippy" ,rust-clippy-0.0.302)
         ("rust-heapsize" ,rust-heapsize-0.3)
         ("rust-serde" ,rust-serde-0.9)
         ("rust-serde-test" ,rust-serde-test-0.9))))))
@@ -43253,7 +43253,7 @@ (define-public rust-linked-hash-map-0.3
     (arguments
      `(#:tests? #f      ; Tests don't compile correctly.
        #:cargo-inputs
-       (("rust-clippy" ,rust-clippy-0.0)
+       (("rust-clippy" ,rust-clippy-0.0.302)
         ("rust-serde" ,rust-serde-0.8)
         ("rust-serde-test" ,rust-serde-test-0.8))))))
 
@@ -56939,7 +56939,7 @@ (define-public rust-pcap-0.7
     (arguments
      `(#:tests? #f  ; can't find crate for `futures`
        #:cargo-inputs
-       (("rust-clippy" ,rust-clippy-0.0)
+       (("rust-clippy" ,rust-clippy-0.0.302)
         ("rust-futures" ,rust-futures-0.1)
         ("rust-libc" ,rust-libc-0.2)
         ("rust-mio" ,rust-mio-0.6)
@@ -75181,7 +75181,7 @@ (define-public rust-serde-0.8
          "1j4ajipn0sf4ya0crgcb94s848qp7mfc35n6d0q2rf8rk5skzbcx"))))
     (arguments
      `(#:cargo-development-inputs
-       (("rust-clippy" ,rust-clippy-0.0))
+       (("rust-clippy" ,rust-clippy-0.0.302))
        #:tests? #f))))
 
 (define-public rust-serde-aux-4
@@ -75572,7 +75572,7 @@ (define-public rust-serde-hjson-0.9
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
-       (("rust-clippy" ,rust-clippy-0.0)
+       (("rust-clippy" ,rust-clippy-0.0.302)
         ("rust-lazy-static" ,rust-lazy-static-1)
         ("rust-linked-hash-map" ,rust-linked-hash-map-0.3)
         ("rust-num-traits" ,rust-num-traits-0.1)
@@ -86355,7 +86355,7 @@ (define-public rust-term-size-1
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
-       (("rust-clippy" ,rust-clippy-0.0)
+       (("rust-clippy" ,rust-clippy-0.0.302)
         ("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
         ("rust-libc" ,rust-libc-0.2)
         ("rust-winapi" ,rust-winapi-0.3))))
@@ -99729,7 +99729,7 @@ (define-public rust-yaml-rust-0.3
          "14m9dzwb8fb05f4jjb4nqp49rxd9c5vcmwpv3a04d2y5iphncqz6"))))
     (arguments
      `(#:cargo-inputs
-       (("rust-clippy" ,rust-clippy-0.0)
+       (("rust-clippy" ,rust-clippy-0.0.302)
         ("rust-linked-hash-map" ,rust-linked-hash-map-0.3))))))
 
 (define-public rust-yaml-rust2-0.9
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index d85bbd1929..6a10b0d9f0 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -4820,7 +4820,7 @@ (define-public rust-multipart-0.18
     (arguments
      `(#:cargo-inputs
        (("rust-buf-redux" ,rust-buf-redux-0.8)
-        ("rust-clippy" ,rust-clippy-0.0)
+        ("rust-clippy" ,rust-clippy-0.0.302)
         ("rust-httparse" ,rust-httparse-1)
         ("rust-hyper" ,rust-hyper-0.10)
         ("rust-iron" ,rust-iron-0.6)
@@ -4861,7 +4861,7 @@ (define-public rust-multipart-0.17
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-buf-redux" ,rust-buf-redux-0.8)
-        ("rust-clippy" ,rust-clippy-0.0)
+        ("rust-clippy" ,rust-clippy-0.0.302)
         ("rust-httparse" ,rust-httparse-1)
         ("rust-hyper" ,rust-hyper-0.10)
         ("rust-iron" ,rust-iron-0.6)
@@ -5781,7 +5781,7 @@ (define-public rust-stdweb-0.1
                 "0gjk7ch31a3kgdc39kj4zqinf10yqaf717wanh9kwwbbwg430m7g"))))
     (arguments
      (list #:skip-build? #t
-           #:cargo-inputs `(("rust-clippy" ,rust-clippy-0.0)
+           #:cargo-inputs `(("rust-clippy" ,rust-clippy-0.0.302)
                             ("rust-serde" ,rust-serde-1)
                             ("rust-serde-json" ,rust-serde-json-1))))))
 
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index dff32f8676..aca8069a40 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -3247,7 +3247,7 @@ (define-public rust-winreg-0.5
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
-       (("rust-clippy" ,rust-clippy-0.0)
+       (("rust-clippy" ,rust-clippy-0.0.302)
         ("rust-serde" ,rust-serde-1)
         ("rust-winapi" ,rust-winapi-0.3))))))
 
-- 
2.45.2