diff options
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/tb/tbump/package.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/by-name/tb/tbump/package.nix b/pkgs/by-name/tb/tbump/package.nix new file mode 100644 index 0000000000000..2812dd2f05d0c --- /dev/null +++ b/pkgs/by-name/tb/tbump/package.nix @@ -0,0 +1,41 @@ +{ + lib, + fetchPypi, + python3Packages, +}: +python3Packages.buildPythonApplication rec { + pname = "tbump"; + version = "6.11.0"; + pyproject = true; + + disabled = python3Packages.pythonOlder "3.8"; + + src = fetchPypi { + inherit version; + pname = "tbump"; + hash = "sha256-OF5xDu3wqKb/lZzx6fPP0XyHNhcTL8DsX2Ka8MNVyHA="; + }; + + pythonRelaxDeps = [ "tomlkit" ]; + + nativeBuildInputs = with python3Packages; [ pythonRelaxDepsHook ]; + + build-system = with python3Packages; [ poetry-core ]; + + dependencies = with python3Packages; [ + docopt + schema + packaging + poetry-core + tomlkit + cli-ui + ]; + + meta = { + description = "Bump software releases"; + homepage = "https://github.com/your-tools/tbump"; + license = lib.licenses.bsd3; + mainProgram = "tbump"; + maintainers = with lib.maintainers; [ slashformotion ]; + }; +} |