Unverified Commit ed4cac7d authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

better-commits: init at 1.16.1 (#396449)

parents 507c422c c68bb83c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -10159,6 +10159,12 @@
    githubId = 7481521;
    name = "Balázs Lengyel";
  };
  ilarvne = {
    email = "ilarvne@proton.me";
    github = "ilarvne";
    githubId = 99905590;
    name = "Nurali Aslanbekov";
  };
  ilaumjd = {
    email = "ilaumjd@gmail.com";
    github = "ilaumjd";
+32 −0
Original line number Diff line number Diff line
{
  lib,
  buildNpmPackage,
  fetchFromGitHub,
  nodejs,
  nix-update-script,
}:

buildNpmPackage rec {
  pname = "better-commits";
  version = "1.16.1";

  src = fetchFromGitHub {
    owner = "Everduin94";
    repo = "better-commits";
    tag = "v${version}";
    hash = "sha256-70PEcktGGck7egDmaIteFEMCNpo6ZuWyIVPiOywr2tc=";
  };

  npmDepsHash = "sha256-g34UutgT5315BpsQSuGGLIU6Ga+hpEz74HNLKKOB+ec=";

  passthru.updateScript = nix-update-script { };

  meta = with lib; {
    description = "CLI for creating better commits following the conventional commits specification";
    homepage = "https://github.com/Everduin94/better-commits";
    license = licenses.mit;
    maintainers = [ maintainers.ilarvne ];
    platforms = platforms.unix;
    mainProgram = "better-commits";
  };
}