Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
787 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildNpmPackage,
fetchFromGitHub,
nodejs,
nix-update-script,
}:
buildNpmPackage rec {
pname = "better-commits";
version = "1.18.0";
src = fetchFromGitHub {
owner = "Everduin94";
repo = "better-commits";
tag = "v${version}";
hash = "sha256-eAxtec1T1kwIMhzKYpy4rkYScjXVaclu3bOUbANz6b8=";
};
npmDepsHash = "sha256-lPJ50DYnANJZ3IowE3kOCyAx9peq7Donh72jk1eQnBs=";
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";
};
}