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