10 textlint-rule-write-good,
13 stdenv.mkDerivation (finalAttrs: {
14 pname = "textlint-rule-write-good";
15 version = "2.0.0-unstable-2024-05-02";
17 src = fetchFromGitHub {
18 owner = "textlint-rule";
19 repo = "textlint-rule-write-good";
20 rev = "586afa0989ae9ac8a93436f58a24d99afe1cac21";
21 hash = "sha256-ghEmWkwGVvLMy6Gf7IrariDRNfuNBc9EVOQz5w38g0I=";
24 offlineCache = fetchYarnDeps {
25 yarnLock = "${finalAttrs.src}/yarn.lock";
26 hash = "sha256-J02MoKPEYtehQMSaOR1Ytfme1ffgHbQcNnEENeTaxaA=";
38 export HOME=$(mktemp -d)
39 yarn config --offline set yarn-offline-mirror "$offlineCache"
40 fixup-yarn-lock yarn.lock
41 yarn --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive install
42 patchShebangs node_modules
58 yarn --offline --production install
60 mkdir -p $out/lib/node_modules/textlint-rule-write-good
61 cp -r . $out/lib/node_modules/textlint-rule-write-good/
66 passthru.tests = textlint.testPackages {
67 rule = textlint-rule-write-good;
72 description = "Textlint rule to check your English styles with write-good";
73 homepage = "https://github.com/textlint-rule/textlint-rule-write-good";
74 changelog = "https://github.com/textlint-rule/textlint-rule-write-good/releases/tag/${finalAttrs.src.rev}";
75 license = lib.licenses.mit;
76 maintainers = with lib.maintainers; [ natsukium ];
77 platforms = textlint.meta.platforms;