[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
38/109: gnu: rust-rspec-1: Remove dependency on clippy.
From: |
guix-commits |
Subject: |
38/109: gnu: rust-rspec-1: Remove dependency on clippy. |
Date: |
Wed, 27 Dec 2023 10:10:59 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 2555b81cf98198d87ac197b559434d6f0eeac4b0
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Dec 27 10:54:32 2023 +0200
gnu: rust-rspec-1: Remove dependency on clippy.
* gnu/packages/crates-io.scm (rust-rspec-1)[source]: Add patch.
[cargo-inputs]: Remove rust-clippy-0.0.153.
* gnu/packages/patches/rust-rspec-1-remove-clippy.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
Change-Id: Ia6cc5e2fa798986b93ccba5f8907de79676fd1b0
---
gnu/local.mk | 1 +
gnu/packages/crates-io.scm | 6 +++---
gnu/packages/patches/rust-rspec-1-remove-clippy.patch | 16 ++++++++++++++++
3 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index d6d556248d..c7b83173cb 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1975,6 +1975,7 @@ dist_patch_DATA =
\
%D%/packages/patches/rust-ndarray-0.13-remove-blas-src.patch \
%D%/packages/patches/rust-ndarray-0.14-remove-blas-src.patch \
%D%/packages/patches/rust-nettle-disable-vendor.patch \
+ %D%/packages/patches/rust-rspec-1-remove-clippy.patch \
%D%/packages/patches/rust-trash-2-update-windows.patch \
%D%/packages/patches/rust-webbrowser-remove-unsupported-os.patch \
%D%/packages/patches/rust-wl-clipboard-rs-newer-wl.patch \
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 63e181f0c4..f5cc1c9f8b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65122,12 +65122,12 @@ can handle huge texts and memory-incoherent edits
with ease.")
(uri (crate-uri "rspec" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "02hfwxqjdc39ygnjysvn5qz343fahmwm16rxvxayh403d5y9wf49"))))
+ (base32 "02hfwxqjdc39ygnjysvn5qz343fahmwm16rxvxayh403d5y9wf49"))
+ (patches (search-patches "rust-rspec-1-remove-clippy.patch"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-clippy" ,rust-clippy-0.0.153)
- ("rust-colored" ,rust-colored-2)
+ (("rust-colored" ,rust-colored-2)
("rust-derive-new" ,rust-derive-new-0.5)
("rust-derive-builder" ,rust-derive-builder-0.9)
("rust-expectest" ,rust-expectest-0.12)
diff --git a/gnu/packages/patches/rust-rspec-1-remove-clippy.patch
b/gnu/packages/patches/rust-rspec-1-remove-clippy.patch
new file mode 100644
index 0000000000..46c994f7ee
--- /dev/null
+++ b/gnu/packages/patches/rust-rspec-1-remove-clippy.patch
@@ -0,0 +1,16 @@
+Remove the dependency on clippy
+
+diff --git a/Cargo.toml b/Cargo.toml
+index 177cb80..7260c34 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -39,9 +39,6 @@ version = "1.5"
+
+ [dependencies.time]
+ version = "0.2"
+-[build-dependencies.clippy]
+-version = "0.0.153"
+-optional = true
+
+ [features]
+ default = []
- 33/109: gnu: Remove rust-base64-0.6., (continued)
- 33/109: gnu: Remove rust-base64-0.6., guix-commits, 2023/12/27
- 10/109: gnu: Add rust-editdistancek-1., guix-commits, 2023/12/27
- 02/109: gnu: rust-trash-2: Update to 2.1.5., guix-commits, 2023/12/27
- 08/109: gnu: rust-seq-io-0.3: Update to 0.3.2., guix-commits, 2023/12/27
- 11/109: gnu: Add rust-buffer-redux-1., guix-commits, 2023/12/27
- 12/109: gnu: rust-rust-hawktracer-0.7: Don't skip build., guix-commits, 2023/12/27
- 13/109: gnu: rust-rust-hawktracer-sys-0.4: Generate bindings during build., guix-commits, 2023/12/27
- 14/109: gnu: Remove rust-clang-sys-0.11., guix-commits, 2023/12/27
- 15/109: gnu: Remove rust-clang-sys-0.23., guix-commits, 2023/12/27
- 19/109: gnu: Remove rust-bindgen-0.51., guix-commits, 2023/12/27
- 38/109: gnu: rust-rspec-1: Remove dependency on clippy.,
guix-commits <=
- 42/109: gnu: Remove rust-pulldown-cmark-0.0.15., guix-commits, 2023/12/27
- 43/109: gnu: Remove rust-itertools-0.6., guix-commits, 2023/12/27
- 46/109: gnu: Remove rust-cargo-metadata-0.2., guix-commits, 2023/12/27
- 16/109: gnu: Remove rust-cexpr-0.2., guix-commits, 2023/12/27
- 18/109: gnu: Remove rust-bindgen-0.50., guix-commits, 2023/12/27
- 25/109: gnu: Remove rust-napi-derive-0.5., guix-commits, 2023/12/27
- 29/109: gnu: Remove rust-lscolors-0.7., guix-commits, 2023/12/27
- 45/109: gnu: Remove rust-semver-0.6., guix-commits, 2023/12/27
- 50/109: gnu: Remove rust-scrypt-0.3., guix-commits, 2023/12/27
- 51/109: gnu: Remove rust-pbkdf2-0.4., guix-commits, 2023/12/27