tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
textlint-plugin-latex2e: init at 1.2.1-unstable-2024-02-05
natsukium
2 years ago
dc4a3ade
c4db484f
+43
3 changed files
expand all
collapse all
unified
split
pkgs
by-name
te
textlint
package.nix
textlint-plugin-latex2e
package.nix
test.tex
+37
pkgs/by-name/te/textlint-plugin-latex2e/package.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
fetchFromGitHub,
4
4
+
buildNpmPackage,
5
5
+
textlint,
6
6
+
textlint-plugin-latex2e,
7
7
+
textlint-rule-max-comma,
8
8
+
}:
9
9
+
10
10
+
buildNpmPackage rec {
11
11
+
pname = "textlint-plugin-latex2e";
12
12
+
version = "1.2.1-unstable-2024-02-05";
13
13
+
14
14
+
src = fetchFromGitHub {
15
15
+
owner = "textlint";
16
16
+
repo = "textlint-plugin-latex2e";
17
17
+
rev = "d3ba1be14543aaaf8e52f87d103fafb3ebb7c4b0";
18
18
+
hash = "sha256-sCDpyhnznMAkIPWK0BawWZwuR9UO/ipIG2o5hyBkJQ0=";
19
19
+
};
20
20
+
21
21
+
npmDepsHash = "sha256-u2cMZC3s4iGCWG6iVMDYfb6XbxfjCdwpzl7opkwtrU8=";
22
22
+
23
23
+
passthru.tests = textlint.testPackages {
24
24
+
inherit (textlint-plugin-latex2e) pname;
25
25
+
rule = textlint-rule-max-comma;
26
26
+
plugin = textlint-plugin-latex2e;
27
27
+
testFile = ./test.tex;
28
28
+
};
29
29
+
30
30
+
meta = {
31
31
+
description = "Textlint Plugin LaTeX2ε";
32
32
+
homepage = "https://github.com/textlint/textlint-plugin-latex2e";
33
33
+
changelog = "https://github.com/textlint/textlint-plugin-latex2e/blob/${src.rev}/CHANGELOG.md";
34
34
+
license = lib.licenses.mit;
35
35
+
maintainers = with lib.maintainers; [ natsukium ];
36
36
+
};
37
37
+
}
+4
pkgs/by-name/te/textlint-plugin-latex2e/test.tex
···
1
1
+
\documentclass{article}
2
2
+
\begin{document}
3
3
+
Nix, is a tool, that takes a unique approach to package management and system configuration, Learn how to make reproducible, declarative, and reliable systems.
4
4
+
\end{document}
+2
pkgs/by-name/te/textlint/package.nix
···
7
7
makeWrapper,
8
8
runCommand,
9
9
textlint,
10
10
+
textlint-plugin-latex2e,
10
11
textlint-rule-alex,
11
12
textlint-rule-diacritics,
12
13
textlint-rule-max-comma,
···
99
100
100
101
tests = lib.mergeAttrsList (
101
102
map (package: package.tests) [
103
103
+
textlint-plugin-latex2e
102
104
textlint-rule-alex
103
105
textlint-rule-diacritics
104
106
textlint-rule-max-comma