tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
textlint-rule-diacritics: repackage with buildNpmPackage
natsukium
2 years ago
d47ef024
c28503fd
+40
-23
6 changed files
expand all
collapse all
unified
split
pkgs
by-name
te
textlint
package.nix
textlint-rule-diacritics
package.nix
test.md
development
node-packages
aliases.nix
node-packages.json
node-packages.nix
+36
pkgs/by-name/te/textlint-rule-diacritics/package.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{
2
+
lib,
3
+
fetchFromGitHub,
4
+
buildNpmPackage,
5
+
textlint,
6
+
textlint-rule-diacritics,
7
+
}:
8
+
9
+
buildNpmPackage rec {
10
+
pname = "textlint-rule-diacritics";
11
+
version = "1.0.0-unstable-2023-01-05";
12
+
13
+
src = fetchFromGitHub {
14
+
owner = "sapegin";
15
+
repo = "textlint-rule-diacritics";
16
+
rev = "07977d866aa6ce514bc6ed3a1087b2bb5869bfb4";
17
+
hash = "sha256-Zr+qWvgpLq3pzO4A7c+x4rTKkaSNO4t1gCiyJL3lkws=";
18
+
};
19
+
20
+
npmDepsHash = "sha256-bKA8aPVBYdzRPwCyFdEs3eWStJwswCZPVpsqGWwc42E=";
21
+
22
+
dontNpmBuild = true;
23
+
24
+
passthru.tests = textlint.testPackages {
25
+
rule = textlint-rule-diacritics;
26
+
testFile = ./test.md;
27
+
};
28
+
29
+
meta = {
30
+
description = "Textlint rule to check correct usage of diacritics";
31
+
homepage = "https://github.com/sapegin/textlint-rule-diacritics?tab=readme-ov-file";
32
+
changelog = "https://github.com/sapegin/textlint-rule-diacritics/releases/tag/${src.rev}";
33
+
license = lib.licenses.mit;
34
+
maintainers = with lib.maintainers; [ natsukium ];
35
+
};
36
+
}
+1
pkgs/by-name/te/textlint-rule-diacritics/test.md
···
0
···
1
+
creme brulee
+2
pkgs/by-name/te/textlint/package.nix
···
8
runCommand,
9
textlint,
10
textlint-rule-alex,
0
11
textlint-rule-max-comma,
12
textlint-rule-preset-ja-technical-writing,
13
textlint-rule-write-good,
···
98
tests = lib.mergeAttrsList (
99
map (package: package.tests) [
100
textlint-rule-alex
0
101
textlint-rule-max-comma
102
textlint-rule-preset-ja-technical-writing
103
textlint-rule-write-good
···
8
runCommand,
9
textlint,
10
textlint-rule-alex,
11
+
textlint-rule-diacritics,
12
textlint-rule-max-comma,
13
textlint-rule-preset-ja-technical-writing,
14
textlint-rule-write-good,
···
99
tests = lib.mergeAttrsList (
100
map (package: package.tests) [
101
textlint-rule-alex
102
+
textlint-rule-diacritics
103
textlint-rule-max-comma
104
textlint-rule-preset-ja-technical-writing
105
textlint-rule-write-good
+1
pkgs/development/node-packages/aliases.nix
···
138
inherit (pkgs) terser; # Added 2023-08-31
139
inherit (pkgs) textlint; # Added 2024-05-13
140
inherit (pkgs) textlint-rule-alex; # Added 2024-05-16
0
141
inherit (pkgs) textlint-rule-max-comma; # Added 2024-05-15
142
inherit (pkgs) textlint-rule-write-good; # Added 2024-05-16
143
thelounge = pkgs.thelounge; # Added 2023-05-22
···
138
inherit (pkgs) terser; # Added 2023-08-31
139
inherit (pkgs) textlint; # Added 2024-05-13
140
inherit (pkgs) textlint-rule-alex; # Added 2024-05-16
141
+
inherit (pkgs) textlint-rule-diacritics; # Added 2024-05-16
142
inherit (pkgs) textlint-rule-max-comma; # Added 2024-05-15
143
inherit (pkgs) textlint-rule-write-good; # Added 2024-05-16
144
thelounge = pkgs.thelounge; # Added 2023-05-22
-1
pkgs/development/node-packages/node-packages.json
···
224
, "textlint-plugin-latex"
225
, "textlint-rule-abbr-within-parentheses"
226
, "textlint-rule-common-misspellings"
227
-
, "textlint-rule-diacritics"
228
, "textlint-rule-en-max-word-count"
229
, "textlint-rule-no-start-duplicated-conjunction"
230
, "textlint-rule-period-in-list-item"
···
224
, "textlint-plugin-latex"
225
, "textlint-rule-abbr-within-parentheses"
226
, "textlint-rule-common-misspellings"
0
227
, "textlint-rule-en-max-word-count"
228
, "textlint-rule-no-start-duplicated-conjunction"
229
, "textlint-rule-period-in-list-item"
-22
pkgs/development/node-packages/node-packages.nix
···
93245
bypassCache = true;
93246
reconstructLock = true;
93247
};
93248
-
textlint-rule-diacritics = nodeEnv.buildNodePackage {
93249
-
name = "textlint-rule-diacritics";
93250
-
packageName = "textlint-rule-diacritics";
93251
-
version = "1.0.0";
93252
-
src = fetchurl {
93253
-
url = "https://registry.npmjs.org/textlint-rule-diacritics/-/textlint-rule-diacritics-1.0.0.tgz";
93254
-
sha512 = "hhJvDZzhV+sKD7walPQ4VmWkBw5o1T/lFLRsoDsAJF+LYhD89R5/L4yFVtxFRUkP9VZ5cvoUIPkYjZvkPEawTA==";
93255
-
};
93256
-
dependencies = [
93257
-
sources."match-casing-1.0.3"
93258
-
sources."strip-json-comments-3.1.1"
93259
-
];
93260
-
buildInputs = globalBuildInputs;
93261
-
meta = {
93262
-
description = "Textlint rule to check correct usage of diacritics";
93263
-
homepage = "https://github.com/sapegin/textlint-rule-diacritics";
93264
-
license = "MIT";
93265
-
};
93266
-
production = true;
93267
-
bypassCache = true;
93268
-
reconstructLock = true;
93269
-
};
93270
textlint-rule-en-max-word-count = nodeEnv.buildNodePackage {
93271
name = "textlint-rule-en-max-word-count";
93272
packageName = "textlint-rule-en-max-word-count";
···
93245
bypassCache = true;
93246
reconstructLock = true;
93247
};
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
93248
textlint-rule-en-max-word-count = nodeEnv.buildNodePackage {
93249
name = "textlint-rule-en-max-word-count";
93250
packageName = "textlint-rule-en-max-word-count";