depot/pkgs/development/tools/htmlhint/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

27 lines
653 B
Nix

{ lib
, buildNpmPackage
, fetchFromGitHub
}:
buildNpmPackage rec {
pname = "htmlhint";
version = "1.1.4";
src = fetchFromGitHub {
owner = "htmlhint";
repo = "HTMLHint";
rev = "v${version}";
hash = "sha256-6R+/uwqWpuTjUnFeUFMzZBzhlFBxYceYZfLLuaYhc6k=";
};
npmDepsHash = "sha256-m5hHxA2YTk7qNpc1Z6TXxNTfIMY5LCM9Il9JHJxQJlI=";
meta = {
changelog = "https://github.com/htmlhint/HTMLHint/blob/${src.rev}/CHANGELOG.md";
description = "Static code analysis tool for HTML";
homepage = "https://github.com/htmlhint/HTMLHint";
license = lib.licenses.mit;
mainProgram = "htmlhint";
maintainers = [ ];
};
}