Merge pull request #138458 from newAM/cargo-spellcheck
cargo-spellcheck: init at 0.8.13
This commit is contained in:
commit
a01a7b4792
32
pkgs/development/tools/rust/cargo-spellcheck/default.nix
Normal file
32
pkgs/development/tools/rust/cargo-spellcheck/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, libclang
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "cargo-spellcheck";
|
||||||
|
version = "0.8.13";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "drahnr";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0k88ma00gj8wjdvd7ysbbvqnf5sk1w8d3wqbi6qfxnqrc1k3hlv2";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "0mmk0igm2s8sxi65zvikxhz52xhkyd3ljqy61mij7zlx95rf639x";
|
||||||
|
|
||||||
|
LIBCLANG_PATH = "${libclang.lib}/lib";
|
||||||
|
|
||||||
|
checkFlags = [
|
||||||
|
"--skip checker::hunspell::tests::hunspell_binding_is_sane"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Checks rust documentation for spelling and grammar mistakes";
|
||||||
|
homepage = "https://github.com/drahnr/cargo-spellcheck";
|
||||||
|
license = with licenses; [ asl20 /* or */ mit ];
|
||||||
|
maintainers = with maintainers; [ newam ];
|
||||||
|
};
|
||||||
|
}
|
@ -12428,6 +12428,7 @@ with pkgs;
|
|||||||
};
|
};
|
||||||
cargo-readme = callPackage ../development/tools/rust/cargo-readme {};
|
cargo-readme = callPackage ../development/tools/rust/cargo-readme {};
|
||||||
cargo-sort = callPackage ../development/tools/rust/cargo-sort { };
|
cargo-sort = callPackage ../development/tools/rust/cargo-sort { };
|
||||||
|
cargo-spellcheck = callPackage ../development/tools/rust/cargo-spellcheck { };
|
||||||
cargo-sweep = callPackage ../development/tools/rust/cargo-sweep { };
|
cargo-sweep = callPackage ../development/tools/rust/cargo-sweep { };
|
||||||
cargo-sync-readme = callPackage ../development/tools/rust/cargo-sync-readme {};
|
cargo-sync-readme = callPackage ../development/tools/rust/cargo-sync-readme {};
|
||||||
cargo-udeps = callPackage ../development/tools/rust/cargo-udeps {
|
cargo-udeps = callPackage ../development/tools/rust/cargo-udeps {
|
||||||
|
Loading…
Reference in New Issue
Block a user