From 7b45abef764fdf976b99b91d772ee9772371f8c2 Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Tue, 11 Feb 2025 07:52:18 -0800 Subject: [PATCH] cargo-spellcheck: 0.15.1 -> 0.15.2 --- pkgs/by-name/ca/cargo-spellcheck/package.nix | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/pkgs/by-name/ca/cargo-spellcheck/package.nix b/pkgs/by-name/ca/cargo-spellcheck/package.nix index 90d0a0bcbe96..bf5e721665d3 100644 --- a/pkgs/by-name/ca/cargo-spellcheck/package.nix +++ b/pkgs/by-name/ca/cargo-spellcheck/package.nix @@ -2,32 +2,21 @@ lib, rustPlatform, fetchFromGitHub, - fetchpatch2, }: rustPlatform.buildRustPackage rec { pname = "cargo-spellcheck"; - version = "0.15.1"; + version = "0.15.2"; src = fetchFromGitHub { owner = "drahnr"; repo = pname; tag = "v${version}"; - hash = "sha256-o4gvTF9Zb6bZ9443zos4bz37w3bXKumW2x425MM5/FY="; + hash = "sha256-KiulbQhSg5CCZlts8FLsfOrN7nz16u3gRnQrWTFAzdc="; }; useFetchCargoVendor = true; - cargoHash = "sha256-wEcHMzeSj/JO/ZBPmQAiHaixtOTCT2+rTd1LDCY9wqc="; - - patches = [ - # fixes compilation of tests - # https://github.com/drahnr/cargo-spellcheck/pull/342 - (fetchpatch2 { - name = "fix-test-compilation.patch"; - url = "https://github.com/drahnr/cargo-spellcheck/pull/342/commits/aed8f3ca7a50fae38a5c6e0b974ed9773cd6c659.patch"; - hash = "sha256-840t8uPg0EiiVppmMT38C1P16vps7F+g0o313tzghjE="; - }) - ]; + cargoHash = "sha256-iDulfKsw3Ui5b1v7QakIcf7HXNEBlMbhbzqLekuSsUU="; nativeBuildInputs = [ rustPlatform.bindgenHook ]; @@ -35,6 +24,8 @@ rustPlatform.buildRustPackage rec { checkFlags = [ "--skip=checker::hunspell::tests::hunspell_binding_is_sane" + # requires dictionaries + "--skip=tests::e2e::issue_226" ]; meta = with lib; {