depot/third_party/nixpkgs/pkgs/development/tools/misc/husky/default.nix

24 lines
632 B
Nix
Raw Normal View History

{ lib, buildNpmPackage, fetchFromGitHub }:
buildNpmPackage rec {
pname = "husky";
version = "8.0.3";
src = fetchFromGitHub {
owner = "typicode";
repo = "husky";
rev = "v${version}";
hash = "sha256-KoF2+vikgFyCGjfKeaqkC720UVMuvCIn9ApDPKbudsA=";
};
npmDepsHash = "sha256-u1dndTKvInobva+71yI2vPiwrW9vqzAJ2sDAqT9YJsg=";
meta = with lib; {
description = "Git hooks made easy 🐶 woof!";
homepage = "https://github.com/typicode/husky";
changelog = "https://github.com/typicode/husky/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ dit7ya ];
};
}