forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / by-name / te / textlint-rule-stop-words / package.nix
blob425aa5cf45f48ddd4404dcd02b8b4e3eb4c43d43
2   lib,
3   fetchFromGitHub,
4   buildNpmPackage,
5   textlint,
6   textlint-rule-stop-words,
7 }:
9 buildNpmPackage rec {
10   pname = "textlint-rule-stop-words";
11   version = "5.0.0";
13   src = fetchFromGitHub {
14     owner = "sapegin";
15     repo = "textlint-rule-stop-words";
16     rev = "refs/tags/v${version}";
17     hash = "sha256-e9jTbDULOs0DwtT9UZp7k5+RR5Ab/x/sizIvs1MrmZs=";
18   };
20   npmDepsHash = "sha256-t9PPHFIiY4vw0ocw6nMuaeYuYWxbc1Pzo0R6bqIsHeI=";
22   dontNpmBuild = true;
24   passthru.tests = textlint.testPackages {
25     rule = textlint-rule-stop-words;
26     testFile = ./test.md;
27   };
29   meta = {
30     description = "Textlint rule to find filler words, buzzwords and clichés";
31     homepage = "https://github.com/sapegin/textlint-rule-stop-words";
32     changelog = "https://github.com/sapegin/textlint-rule-stop-words/releases/tag/${lib.removePrefix "refs/tags/" src.rev}";
33     license = lib.licenses.mit;
34     maintainers = with lib.maintainers; [ natsukium ];
35   };