tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
write-good: use buildNpmPackage
Robert Schütz
2 years ago
dfc4c764
a856bc38
+31
-243
5 changed files
expand all
collapse all
unified
split
pkgs
development
node-packages
aliases.nix
node-packages.json
node-packages.nix
tools
text
write-good
default.nix
top-level
all-packages.nix
+1
pkgs/development/node-packages/aliases.nix
···
76
76
vscode-langservers-extracted = pkgs.vscode-langservers-extracted; # Added 2023-05-27
77
77
vue-cli = self."@vue/cli"; # added 2023-08-18
78
78
inherit (pkgs) web-ext; # added 2023-08-20
79
79
+
inherit (pkgs) write-good; # added 2023-08-20
79
80
inherit (pkgs) yo; # added 2023-08-20
80
81
zx = pkgs.zx; # added 2023-08-01
81
82
}
-1
pkgs/development/node-packages/node-packages.json
···
366
366
, "@withgraphite/graphite-cli"
367
367
, "wrangler"
368
368
, "wring"
369
369
-
, "write-good"
370
369
, "@yaegassy/coc-nginx"
371
370
, "yaml-language-server"
372
371
, "yalc"
-242
pkgs/development/node-packages/node-packages.nix
···
140782
140782
bypassCache = true;
140783
140783
reconstructLock = true;
140784
140784
};
140785
140785
-
write-good = nodeEnv.buildNodePackage {
140786
140786
-
name = "write-good";
140787
140787
-
packageName = "write-good";
140788
140788
-
version = "1.0.8";
140789
140789
-
src = fetchurl {
140790
140790
-
url = "https://registry.npmjs.org/write-good/-/write-good-1.0.8.tgz";
140791
140791
-
sha512 = "P1Ct7+DNrOcr2JAxDZ3Q5i5sx2LSveu7iLaoUL0A+YiG0GKf0l5+9j3rwMeyh6JeTL1+HfQV1rnwEvzhNIvpFw==";
140792
140792
-
};
140793
140793
-
dependencies = [
140794
140794
-
sources."@aashutoshrathi/word-wrap-1.2.6"
140795
140795
-
sources."@babel/runtime-7.22.10"
140796
140796
-
sources."@eslint-community/eslint-utils-4.4.0"
140797
140797
-
sources."@eslint-community/regexpp-4.6.2"
140798
140798
-
(sources."@eslint/eslintrc-2.1.1" // {
140799
140799
-
dependencies = [
140800
140800
-
sources."debug-4.3.4"
140801
140801
-
sources."ms-2.1.2"
140802
140802
-
];
140803
140803
-
})
140804
140804
-
sources."@eslint/js-8.46.0"
140805
140805
-
(sources."@humanwhocodes/config-array-0.11.10" // {
140806
140806
-
dependencies = [
140807
140807
-
sources."debug-4.3.4"
140808
140808
-
sources."ms-2.1.2"
140809
140809
-
];
140810
140810
-
})
140811
140811
-
sources."@humanwhocodes/module-importer-1.0.1"
140812
140812
-
sources."@humanwhocodes/object-schema-1.2.1"
140813
140813
-
sources."@nodelib/fs.scandir-2.1.5"
140814
140814
-
sources."@nodelib/fs.stat-2.0.5"
140815
140815
-
sources."@nodelib/fs.walk-1.2.8"
140816
140816
-
sources."@types/json5-0.0.29"
140817
140817
-
sources."acorn-8.10.0"
140818
140818
-
sources."acorn-jsx-5.3.2"
140819
140819
-
sources."adverb-where-0.2.5"
140820
140820
-
sources."ajv-6.12.6"
140821
140821
-
sources."ansi-regex-5.0.1"
140822
140822
-
sources."ansi-styles-4.3.0"
140823
140823
-
sources."argparse-2.0.1"
140824
140824
-
sources."aria-query-5.3.0"
140825
140825
-
sources."array-buffer-byte-length-1.0.0"
140826
140826
-
sources."array-includes-3.1.6"
140827
140827
-
sources."array.prototype.findlastindex-1.2.2"
140828
140828
-
sources."array.prototype.flat-1.3.1"
140829
140829
-
sources."array.prototype.flatmap-1.3.1"
140830
140830
-
sources."array.prototype.tosorted-1.1.1"
140831
140831
-
sources."arraybuffer.prototype.slice-1.0.1"
140832
140832
-
sources."ast-types-flow-0.0.7"
140833
140833
-
sources."available-typed-arrays-1.0.5"
140834
140834
-
sources."axe-core-4.7.2"
140835
140835
-
sources."axobject-query-3.2.1"
140836
140836
-
sources."balanced-match-1.0.2"
140837
140837
-
sources."brace-expansion-1.1.11"
140838
140838
-
sources."call-bind-1.0.2"
140839
140839
-
sources."callsites-3.1.0"
140840
140840
-
sources."chalk-4.1.2"
140841
140841
-
sources."color-convert-2.0.1"
140842
140842
-
sources."color-name-1.1.4"
140843
140843
-
sources."commander-2.20.3"
140844
140844
-
sources."concat-map-0.0.1"
140845
140845
-
sources."cross-spawn-7.0.3"
140846
140846
-
sources."damerau-levenshtein-1.0.8"
140847
140847
-
sources."debug-3.2.7"
140848
140848
-
sources."deep-is-0.1.4"
140849
140849
-
sources."define-properties-1.2.0"
140850
140850
-
sources."dequal-2.0.3"
140851
140851
-
sources."doctrine-2.1.0"
140852
140852
-
sources."e-prime-0.10.4"
140853
140853
-
sources."emoji-regex-9.2.2"
140854
140854
-
sources."es-abstract-1.22.1"
140855
140855
-
sources."es-set-tostringtag-2.0.1"
140856
140856
-
sources."es-shim-unscopables-1.0.0"
140857
140857
-
sources."es-to-primitive-1.2.1"
140858
140858
-
sources."escape-string-regexp-4.0.0"
140859
140859
-
(sources."eslint-8.46.0" // {
140860
140860
-
dependencies = [
140861
140861
-
sources."debug-4.3.4"
140862
140862
-
sources."doctrine-3.0.0"
140863
140863
-
sources."ms-2.1.2"
140864
140864
-
];
140865
140865
-
})
140866
140866
-
sources."eslint-import-resolver-node-0.3.9"
140867
140867
-
sources."eslint-module-utils-2.8.0"
140868
140868
-
sources."eslint-plugin-import-2.28.0"
140869
140869
-
sources."eslint-plugin-jsx-a11y-6.7.1"
140870
140870
-
(sources."eslint-plugin-react-7.33.1" // {
140871
140871
-
dependencies = [
140872
140872
-
sources."resolve-2.0.0-next.4"
140873
140873
-
];
140874
140874
-
})
140875
140875
-
sources."eslint-plugin-react-hooks-4.6.0"
140876
140876
-
sources."eslint-scope-7.2.2"
140877
140877
-
sources."eslint-visitor-keys-3.4.2"
140878
140878
-
sources."espree-9.6.1"
140879
140879
-
sources."esquery-1.5.0"
140880
140880
-
sources."esrecurse-4.3.0"
140881
140881
-
sources."estraverse-5.3.0"
140882
140882
-
sources."esutils-2.0.3"
140883
140883
-
sources."fast-deep-equal-3.1.3"
140884
140884
-
sources."fast-json-stable-stringify-2.1.0"
140885
140885
-
sources."fast-levenshtein-2.0.6"
140886
140886
-
sources."fastq-1.15.0"
140887
140887
-
sources."file-entry-cache-6.0.1"
140888
140888
-
sources."find-up-5.0.0"
140889
140889
-
sources."flat-cache-3.0.4"
140890
140890
-
sources."flatted-3.2.7"
140891
140891
-
sources."for-each-0.3.3"
140892
140892
-
sources."fs.realpath-1.0.0"
140893
140893
-
sources."function-bind-1.1.1"
140894
140894
-
sources."function.prototype.name-1.1.5"
140895
140895
-
sources."functions-have-names-1.2.3"
140896
140896
-
sources."get-intrinsic-1.2.1"
140897
140897
-
sources."get-symbol-description-1.0.0"
140898
140898
-
sources."glob-7.2.3"
140899
140899
-
sources."glob-parent-6.0.2"
140900
140900
-
sources."globals-13.20.0"
140901
140901
-
sources."globalthis-1.0.3"
140902
140902
-
sources."gopd-1.0.1"
140903
140903
-
sources."graphemer-1.4.0"
140904
140904
-
sources."has-1.0.3"
140905
140905
-
sources."has-bigints-1.0.2"
140906
140906
-
sources."has-flag-4.0.0"
140907
140907
-
sources."has-property-descriptors-1.0.0"
140908
140908
-
sources."has-proto-1.0.1"
140909
140909
-
sources."has-symbols-1.0.3"
140910
140910
-
sources."has-tostringtag-1.0.0"
140911
140911
-
sources."ignore-5.2.4"
140912
140912
-
sources."import-fresh-3.3.0"
140913
140913
-
sources."imurmurhash-0.1.4"
140914
140914
-
sources."inflight-1.0.6"
140915
140915
-
sources."inherits-2.0.4"
140916
140916
-
sources."internal-slot-1.0.5"
140917
140917
-
sources."is-array-buffer-3.0.2"
140918
140918
-
sources."is-bigint-1.0.4"
140919
140919
-
sources."is-boolean-object-1.1.2"
140920
140920
-
sources."is-callable-1.2.7"
140921
140921
-
sources."is-core-module-2.13.0"
140922
140922
-
sources."is-date-object-1.0.5"
140923
140923
-
sources."is-extglob-2.1.1"
140924
140924
-
sources."is-glob-4.0.3"
140925
140925
-
sources."is-negative-zero-2.0.2"
140926
140926
-
sources."is-number-object-1.0.7"
140927
140927
-
sources."is-path-inside-3.0.3"
140928
140928
-
sources."is-regex-1.1.4"
140929
140929
-
sources."is-shared-array-buffer-1.0.2"
140930
140930
-
sources."is-string-1.0.7"
140931
140931
-
sources."is-symbol-1.0.4"
140932
140932
-
sources."is-typed-array-1.1.12"
140933
140933
-
sources."is-weakref-1.0.2"
140934
140934
-
sources."isarray-2.0.5"
140935
140935
-
sources."isexe-2.0.0"
140936
140936
-
sources."js-tokens-4.0.0"
140937
140937
-
sources."js-yaml-4.1.0"
140938
140938
-
sources."json-schema-traverse-0.4.1"
140939
140939
-
sources."json-stable-stringify-without-jsonify-1.0.1"
140940
140940
-
sources."json5-1.0.2"
140941
140941
-
sources."jsx-ast-utils-3.3.5"
140942
140942
-
sources."language-subtag-registry-0.3.22"
140943
140943
-
sources."language-tags-1.0.5"
140944
140944
-
sources."levn-0.4.1"
140945
140945
-
sources."locate-path-6.0.0"
140946
140946
-
sources."lodash.merge-4.6.2"
140947
140947
-
sources."loose-envify-1.4.0"
140948
140948
-
sources."minimatch-3.1.2"
140949
140949
-
sources."minimist-1.2.8"
140950
140950
-
sources."ms-2.1.3"
140951
140951
-
sources."natural-compare-1.4.0"
140952
140952
-
sources."no-cliches-0.3.4"
140953
140953
-
sources."object-assign-4.1.1"
140954
140954
-
sources."object-inspect-1.12.3"
140955
140955
-
sources."object-keys-1.1.1"
140956
140956
-
sources."object.assign-4.1.4"
140957
140957
-
sources."object.entries-1.1.6"
140958
140958
-
sources."object.fromentries-2.0.6"
140959
140959
-
sources."object.groupby-1.0.0"
140960
140960
-
sources."object.hasown-1.1.2"
140961
140961
-
sources."object.values-1.1.6"
140962
140962
-
sources."once-1.4.0"
140963
140963
-
sources."optionator-0.9.3"
140964
140964
-
sources."p-limit-3.1.0"
140965
140965
-
sources."p-locate-5.0.0"
140966
140966
-
sources."parent-module-1.0.1"
140967
140967
-
sources."passive-voice-0.1.0"
140968
140968
-
sources."path-exists-4.0.0"
140969
140969
-
sources."path-is-absolute-1.0.1"
140970
140970
-
sources."path-key-3.1.1"
140971
140971
-
sources."path-parse-1.0.7"
140972
140972
-
sources."prelude-ls-1.2.1"
140973
140973
-
sources."prop-types-15.8.1"
140974
140974
-
sources."punycode-2.3.0"
140975
140975
-
sources."queue-microtask-1.2.3"
140976
140976
-
sources."react-is-16.13.1"
140977
140977
-
sources."regenerator-runtime-0.14.0"
140978
140978
-
sources."regexp.prototype.flags-1.5.0"
140979
140979
-
sources."resolve-1.22.4"
140980
140980
-
sources."resolve-from-4.0.0"
140981
140981
-
sources."reusify-1.0.4"
140982
140982
-
sources."rimraf-3.0.2"
140983
140983
-
sources."run-parallel-1.2.0"
140984
140984
-
sources."safe-array-concat-1.0.0"
140985
140985
-
sources."safe-regex-test-1.0.0"
140986
140986
-
sources."semver-6.3.1"
140987
140987
-
sources."shebang-command-2.0.0"
140988
140988
-
sources."shebang-regex-3.0.0"
140989
140989
-
sources."side-channel-1.0.4"
140990
140990
-
sources."string.prototype.matchall-4.0.8"
140991
140991
-
sources."string.prototype.trim-1.2.7"
140992
140992
-
sources."string.prototype.trimend-1.0.6"
140993
140993
-
sources."string.prototype.trimstart-1.0.6"
140994
140994
-
sources."strip-ansi-6.0.1"
140995
140995
-
sources."strip-bom-3.0.0"
140996
140996
-
sources."strip-json-comments-3.1.1"
140997
140997
-
sources."supports-color-7.2.0"
140998
140998
-
sources."supports-preserve-symlinks-flag-1.0.0"
140999
140999
-
sources."text-table-0.2.0"
141000
141000
-
sources."too-wordy-0.3.4"
141001
141001
-
sources."tsconfig-paths-3.14.2"
141002
141002
-
sources."type-check-0.4.0"
141003
141003
-
sources."type-fest-0.20.2"
141004
141004
-
sources."typed-array-buffer-1.0.0"
141005
141005
-
sources."typed-array-byte-length-1.0.0"
141006
141006
-
sources."typed-array-byte-offset-1.0.0"
141007
141007
-
sources."typed-array-length-1.0.4"
141008
141008
-
sources."unbox-primitive-1.0.2"
141009
141009
-
sources."uri-js-4.4.1"
141010
141010
-
sources."weasel-words-0.1.1"
141011
141011
-
sources."which-2.0.2"
141012
141012
-
sources."which-boxed-primitive-1.0.2"
141013
141013
-
sources."which-typed-array-1.1.11"
141014
141014
-
sources."wrappy-1.0.2"
141015
141015
-
sources."yocto-queue-0.1.0"
141016
141016
-
];
141017
141017
-
buildInputs = globalBuildInputs;
141018
141018
-
meta = {
141019
141019
-
description = "Naive linter for English prose";
141020
141020
-
homepage = "https://github.com/btford/write-good#readme";
141021
141021
-
license = "MIT";
141022
141022
-
};
141023
141023
-
production = true;
141024
141024
-
bypassCache = true;
141025
141025
-
reconstructLock = true;
141026
141026
-
};
141027
140785
"@yaegassy/coc-nginx" = nodeEnv.buildNodePackage {
141028
140786
name = "_at_yaegassy_slash_coc-nginx";
141029
140787
packageName = "@yaegassy/coc-nginx";
+28
pkgs/tools/text/write-good/default.nix
···
1
1
+
{ lib
2
2
+
, buildNpmPackage
3
3
+
, fetchFromGitHub
4
4
+
}:
5
5
+
6
6
+
buildNpmPackage rec {
7
7
+
pname = "write-good";
8
8
+
version = "1.0.8";
9
9
+
10
10
+
src = fetchFromGitHub {
11
11
+
owner = "btford";
12
12
+
repo = "write-good";
13
13
+
rev = "v${version}";
14
14
+
hash = "sha256-cq3cj2BwoQMKqo3iU2l+PR/2bJIFMSTRsDGQJ06GWXk=";
15
15
+
};
16
16
+
17
17
+
npmDepsHash = "sha256-0M9RzyeINmUPYcLy654iI+/ehElKrhIAibpiSqlXD2A=";
18
18
+
19
19
+
dontNpmBuild = true;
20
20
+
21
21
+
meta = {
22
22
+
description = "Naive linter for English prose";
23
23
+
homepage = "https://github.com/btford/write-good";
24
24
+
license = lib.licenses.mit;
25
25
+
mainProgram = "write-good";
26
26
+
maintainers = with lib.maintainers; [ ];
27
27
+
};
28
28
+
}
+2
pkgs/top-level/all-packages.nix
···
14454
14454
14455
14455
wpscan = callPackage ../tools/security/wpscan { };
14456
14456
14457
14457
+
write-good = callPackage ../tools/text/write-good { };
14458
14458
+
14457
14459
wsmancli = callPackage ../tools/system/wsmancli { };
14458
14460
14459
14461
wstunnel = haskell.lib.compose.justStaticExecutables haskellPackages.wstunnel;