diff --git a/pkgs/by-name/te/textlint-rule-stop-words/package.nix b/pkgs/by-name/te/textlint-rule-stop-words/package.nix index 1b61f6c97ef4..8e2d3e8b3090 100644 --- a/pkgs/by-name/te/textlint-rule-stop-words/package.nix +++ b/pkgs/by-name/te/textlint-rule-stop-words/package.nix @@ -6,20 +6,18 @@ textlint-rule-stop-words, }: -buildNpmPackage rec { +buildNpmPackage (finalAttrs: { pname = "textlint-rule-stop-words"; - version = "5.0.0"; + version = "5.2.0"; src = fetchFromGitHub { owner = "sapegin"; repo = "textlint-rule-stop-words"; - tag = "v${version}"; - hash = "sha256-e9jTbDULOs0DwtT9UZp7k5+RR5Ab/x/sizIvs1MrmZs="; + tag = "v${finalAttrs.version}"; + hash = "sha256-QN3IptBxX/GTaySWQt43k6UDCKiG4Lp8MowHZ9EPRVQ="; }; - npmDepsHash = "sha256-t9PPHFIiY4vw0ocw6nMuaeYuYWxbc1Pzo0R6bqIsHeI="; - - dontNpmBuild = true; + npmDepsHash = "sha256-UEiSMHZ8tvq/CoRA/wuV7bEZ6Njj3+cjoz139JH46Ks="; passthru.tests = textlint.testPackages { rule = textlint-rule-stop-words; @@ -29,8 +27,8 @@ buildNpmPackage rec { 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}"; + changelog = "https://github.com/sapegin/textlint-rule-stop-words/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ natsukium ]; }; -} +})