Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 23 lines 632 B view raw
1{ lib, buildNpmPackage, fetchFromGitHub }: 2 3buildNpmPackage rec { 4 pname = "husky"; 5 version = "8.0.3"; 6 7 src = fetchFromGitHub { 8 owner = "typicode"; 9 repo = "husky"; 10 rev = "v${version}"; 11 hash = "sha256-KoF2+vikgFyCGjfKeaqkC720UVMuvCIn9ApDPKbudsA="; 12 }; 13 14 npmDepsHash = "sha256-u1dndTKvInobva+71yI2vPiwrW9vqzAJ2sDAqT9YJsg="; 15 16 meta = with lib; { 17 description = "Git hooks made easy 🐶 woof!"; 18 homepage = "https://github.com/typicode/husky"; 19 changelog = "https://github.com/typicode/husky/releases/tag/v${version}"; 20 license = licenses.mit; 21 maintainers = with maintainers; [ dit7ya ]; 22 }; 23}