Loading pkgs/by-name/ca/cargo-spellcheck/package.nix +16 −5 Original line number Diff line number Diff line Loading @@ -2,28 +2,39 @@ lib, rustPlatform, fetchFromGitHub, fetchpatch2, }: rustPlatform.buildRustPackage rec { pname = "cargo-spellcheck"; version = "0.14.0"; version = "0.15.1"; src = fetchFromGitHub { owner = "drahnr"; repo = pname; rev = "v${version}"; hash = "sha256-NrtPV2bd9BuA1nnniIcth85gJQmFGy9LHdajqmW8j4Q="; tag = "v${version}"; hash = "sha256-o4gvTF9Zb6bZ9443zos4bz37w3bXKumW2x425MM5/FY="; }; useFetchCargoVendor = true; cargoHash = "sha256-1bOEOZ1byVm9apCqR9zgESsgA9Z9TdFSondwzwOPfWI="; 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="; }) ]; nativeBuildInputs = [ rustPlatform.bindgenHook ]; preCheck = "HOME=$(mktemp -d)"; checkFlags = [ "--skip checker::hunspell::tests::hunspell_binding_is_sane" "--skip=checker::hunspell::tests::hunspell_binding_is_sane" ]; meta = with lib; { Loading Loading
pkgs/by-name/ca/cargo-spellcheck/package.nix +16 −5 Original line number Diff line number Diff line Loading @@ -2,28 +2,39 @@ lib, rustPlatform, fetchFromGitHub, fetchpatch2, }: rustPlatform.buildRustPackage rec { pname = "cargo-spellcheck"; version = "0.14.0"; version = "0.15.1"; src = fetchFromGitHub { owner = "drahnr"; repo = pname; rev = "v${version}"; hash = "sha256-NrtPV2bd9BuA1nnniIcth85gJQmFGy9LHdajqmW8j4Q="; tag = "v${version}"; hash = "sha256-o4gvTF9Zb6bZ9443zos4bz37w3bXKumW2x425MM5/FY="; }; useFetchCargoVendor = true; cargoHash = "sha256-1bOEOZ1byVm9apCqR9zgESsgA9Z9TdFSondwzwOPfWI="; 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="; }) ]; nativeBuildInputs = [ rustPlatform.bindgenHook ]; preCheck = "HOME=$(mktemp -d)"; checkFlags = [ "--skip checker::hunspell::tests::hunspell_binding_is_sane" "--skip=checker::hunspell::tests::hunspell_binding_is_sane" ]; meta = with lib; { Loading