cargo-spellcheck: 0.15.1 -> 0.15.2
This commit is contained in:
parent
dce94fb9bf
commit
7b45abef76
@ -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; {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user