Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
917 B
Nix
37 lines
917 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildNpmPackage,
|
|
textlint,
|
|
textlint-rule-stop-words,
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "textlint-rule-stop-words";
|
|
version = "5.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sapegin";
|
|
repo = "textlint-rule-stop-words";
|
|
tag = "v${version}";
|
|
hash = "sha256-e9jTbDULOs0DwtT9UZp7k5+RR5Ab/x/sizIvs1MrmZs=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-t9PPHFIiY4vw0ocw6nMuaeYuYWxbc1Pzo0R6bqIsHeI=";
|
|
|
|
dontNpmBuild = true;
|
|
|
|
passthru.tests = textlint.testPackages {
|
|
rule = textlint-rule-stop-words;
|
|
testFile = ./test.md;
|
|
};
|
|
|
|
meta = {
|
|
description = "Textlint rule to find filler words, buzzwords and clichés";
|
|
homepage = "https://github.com/sapegin/textlint-rule-stop-words";
|
|
changelog = "https://github.com/sapegin/textlint-rule-stop-words/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ natsukium ];
|
|
};
|
|
}
|