textlint-plugin-latex2e: init at 1.2.1-unstable-2024-02-05

+43
+37
pkgs/by-name/te/textlint-plugin-latex2e/package.nix
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + buildNpmPackage, 5 + textlint, 6 + textlint-plugin-latex2e, 7 + textlint-rule-max-comma, 8 + }: 9 + 10 + buildNpmPackage rec { 11 + pname = "textlint-plugin-latex2e"; 12 + version = "1.2.1-unstable-2024-02-05"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "textlint"; 16 + repo = "textlint-plugin-latex2e"; 17 + rev = "d3ba1be14543aaaf8e52f87d103fafb3ebb7c4b0"; 18 + hash = "sha256-sCDpyhnznMAkIPWK0BawWZwuR9UO/ipIG2o5hyBkJQ0="; 19 + }; 20 + 21 + npmDepsHash = "sha256-u2cMZC3s4iGCWG6iVMDYfb6XbxfjCdwpzl7opkwtrU8="; 22 + 23 + passthru.tests = textlint.testPackages { 24 + inherit (textlint-plugin-latex2e) pname; 25 + rule = textlint-rule-max-comma; 26 + plugin = textlint-plugin-latex2e; 27 + testFile = ./test.tex; 28 + }; 29 + 30 + meta = { 31 + description = "Textlint Plugin LaTeX2ε"; 32 + homepage = "https://github.com/textlint/textlint-plugin-latex2e"; 33 + changelog = "https://github.com/textlint/textlint-plugin-latex2e/blob/${src.rev}/CHANGELOG.md"; 34 + license = lib.licenses.mit; 35 + maintainers = with lib.maintainers; [ natsukium ]; 36 + }; 37 + }
+4
pkgs/by-name/te/textlint-plugin-latex2e/test.tex
··· 1 + \documentclass{article} 2 + \begin{document} 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 + \end{document}
+2
pkgs/by-name/te/textlint/package.nix
··· 7 7 makeWrapper, 8 8 runCommand, 9 9 textlint, 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 + textlint-plugin-latex2e 102 104 textlint-rule-alex 103 105 textlint-rule-diacritics 104 106 textlint-rule-max-comma