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
946 B
Nix

{
lib,
fetchFromGitHub,
buildNpmPackage,
textlint,
textlint-plugin-org,
textlint-rule-max-comma,
}:
buildNpmPackage rec {
pname = "textlint-plugin-org";
version = "0.3.7";
src = fetchFromGitHub {
owner = "kijimaD";
repo = "textlint-plugin-org";
tag = "v${version}";
hash = "sha256-BW+b09nv9Mzl3cUcOOpHoRz8tGLxuGGo4UCY6kdUlXA=";
};
npmDepsHash = "sha256-J1ksstPED7FwB80N4CzfZ1i2xc3Wmu7s4T3acOrWA9s=";
passthru.tests = textlint.testPackages {
inherit (textlint-plugin-org) pname;
rule = textlint-rule-max-comma;
plugin = textlint-plugin-org;
testFile = ./test.org;
};
meta = {
description = "Org mode support for textlint";
homepage = "https://github.com/kijimaD/textlint-plugin-org";
changelog = "https://github.com/kijimaD/textlint-plugin-org/releases/tag/v${version}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ natsukium ];
};
}