commitizen: init @ 2.20.3
This commit is contained in:
parent
f7aa55946b
commit
81d8b35ff5
2 changed files with 51 additions and 0 deletions
49
pkgs/applications/version-management/commitizen/default.nix
Normal file
49
pkgs/applications/version-management/commitizen/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{ buildPythonApplication
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, poetry
|
||||
, termcolor
|
||||
, questionary
|
||||
, colorama
|
||||
, decli
|
||||
, tomlkit
|
||||
, jinja2
|
||||
, pyyaml
|
||||
, argcomplete
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "commitizen";
|
||||
version = "2.20.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "commitizen-tools";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-rAm2GTRxZIHQmn/FM0IwwH/2h+oOvzGmeVr5xkvD/zA=";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [ poetry ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
termcolor
|
||||
questionary
|
||||
colorama
|
||||
decli
|
||||
tomlkit
|
||||
jinja2
|
||||
pyyaml
|
||||
argcomplete
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to create committing rules for projects, auto bump versions, and generate changelogs";
|
||||
homepage = "https://github.com/commitizen-tools/commitizen";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lovesegfault ];
|
||||
};
|
||||
}
|
|
@ -2546,6 +2546,8 @@ with pkgs;
|
|||
|
||||
comma = callPackage ../tools/package-management/comma { };
|
||||
|
||||
commitizen = python3Packages.callPackage ../applications/version-management/commitizen { };
|
||||
|
||||
common-licenses = callPackage ../data/misc/common-licenses {};
|
||||
|
||||
compactor = callPackage ../applications/networking/compactor { };
|
||||
|
|
Loading…
Reference in a new issue