Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 buildNpmPackage,
4 fetchFromGitHub,
5 nodejs,
6 nix-update-script,
7}:
8
9buildNpmPackage rec {
10 pname = "better-commits";
11 version = "1.17.1";
12
13 src = fetchFromGitHub {
14 owner = "Everduin94";
15 repo = "better-commits";
16 tag = "v${version}";
17 hash = "sha256-dalCpupefZT1VDOo+U2MvqeWh1whi8w/697VOFJyuDw=";
18 };
19
20 npmDepsHash = "sha256-g34UutgT5315BpsQSuGGLIU6Ga+hpEz74HNLKKOB+ec=";
21
22 passthru.updateScript = nix-update-script { };
23
24 meta = with lib; {
25 description = "CLI for creating better commits following the conventional commits specification";
26 homepage = "https://github.com/Everduin94/better-commits";
27 license = licenses.mit;
28 maintainers = [ maintainers.ilarvne ];
29 platforms = platforms.unix;
30 mainProgram = "better-commits";
31 };
32}