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