mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
28 lines
675 B
Nix
28 lines
675 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 = with lib.maintainers; [ ];
|
|
};
|
|
}
|