Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

38 lines
1020 B
Nix

{
lib,
fetchFromGitHub,
buildNpmPackage,
textlint,
textlint-plugin-latex2e,
textlint-rule-max-comma,
}:
buildNpmPackage rec {
pname = "textlint-plugin-latex2e";
version = "1.2.1-unstable-2024-02-05";
src = fetchFromGitHub {
owner = "textlint";
repo = "textlint-plugin-latex2e";
rev = "d3ba1be14543aaaf8e52f87d103fafb3ebb7c4b0";
hash = "sha256-sCDpyhnznMAkIPWK0BawWZwuR9UO/ipIG2o5hyBkJQ0=";
};
npmDepsHash = "sha256-u2cMZC3s4iGCWG6iVMDYfb6XbxfjCdwpzl7opkwtrU8=";
passthru.tests = textlint.testPackages {
inherit (textlint-plugin-latex2e) pname;
rule = textlint-rule-max-comma;
plugin = textlint-plugin-latex2e;
testFile = ./test.tex;
};
meta = {
description = "Textlint Plugin LaTeX2ε";
homepage = "https://github.com/textlint/textlint-plugin-latex2e";
changelog = "https://github.com/textlint/textlint-plugin-latex2e/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ natsukium ];
};
}