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
37 lines
976 B
Nix
37 lines
976 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildNpmPackage,
|
|
textlint,
|
|
textlint-rule-diacritics,
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "textlint-rule-diacritics";
|
|
version = "1.0.0-unstable-2023-01-05";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sapegin";
|
|
repo = "textlint-rule-diacritics";
|
|
rev = "07977d866aa6ce514bc6ed3a1087b2bb5869bfb4";
|
|
hash = "sha256-Zr+qWvgpLq3pzO4A7c+x4rTKkaSNO4t1gCiyJL3lkws=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-bKA8aPVBYdzRPwCyFdEs3eWStJwswCZPVpsqGWwc42E=";
|
|
|
|
dontNpmBuild = true;
|
|
|
|
passthru.tests = textlint.testPackages {
|
|
rule = textlint-rule-diacritics;
|
|
testFile = ./test.md;
|
|
};
|
|
|
|
meta = {
|
|
description = "Textlint rule to check correct usage of diacritics";
|
|
homepage = "https://github.com/sapegin/textlint-rule-diacritics?tab=readme-ov-file";
|
|
changelog = "https://github.com/sapegin/textlint-rule-diacritics/releases/tag/${src.rev}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ natsukium ];
|
|
};
|
|
}
|