blob: c682e732de985c8e89749c2cf0198a043bbe62eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
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 = [ ];
};
}
|