1{ lib
2, buildNpmPackage
3, fetchFromGitHub
4}:
5
6buildNpmPackage rec {
7 pname = "htmlhint";
8 version = "1.1.4";
9
10 src = fetchFromGitHub {
11 owner = "htmlhint";
12 repo = "HTMLHint";
13 rev = "v${version}";
14 hash = "sha256-6R+/uwqWpuTjUnFeUFMzZBzhlFBxYceYZfLLuaYhc6k=";
15 };
16
17 npmDepsHash = "sha256-m5hHxA2YTk7qNpc1Z6TXxNTfIMY5LCM9Il9JHJxQJlI=";
18
19 meta = {
20 changelog = "https://github.com/htmlhint/HTMLHint/blob/${src.rev}/CHANGELOG.md";
21 description = "Static code analysis tool for HTML";
22 homepage = "https://github.com/htmlhint/HTMLHint";
23 license = lib.licenses.mit;
24 mainProgram = "htmlhint";
25 maintainers = [ ];
26 };
27}