587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
24 lines
659 B
Nix
24 lines
659 B
Nix
{ 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!";
|
|
mainProgram = "husky";
|
|
homepage = "https://github.com/typicode/husky";
|
|
changelog = "https://github.com/typicode/husky/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dit7ya ];
|
|
};
|
|
}
|