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
35 lines
748 B
Nix
35 lines
748 B
Nix
{
|
|
lib,
|
|
buildNpmPackage,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "write-good";
|
|
version = "1.0.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "btford";
|
|
repo = "write-good";
|
|
rev = "v${version}";
|
|
hash = "sha256-cq3cj2BwoQMKqo3iU2l+PR/2bJIFMSTRsDGQJ06GWXk=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-0M9RzyeINmUPYcLy654iI+/ehElKrhIAibpiSqlXD2A=";
|
|
|
|
dontNpmBuild = true;
|
|
|
|
postInstall = ''
|
|
# Remove the .bin directory as it contains broken symlinks
|
|
rm -rf $out/lib/node_modules/write-good/node_modules/.bin
|
|
'';
|
|
|
|
meta = {
|
|
description = "Naive linter for English prose";
|
|
homepage = "https://github.com/btford/write-good";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "write-good";
|
|
maintainers = [ ];
|
|
};
|
|
}
|