From 1fc321ee73e3fa8d5da3f75a8ebe81761e2ceaf2 Mon Sep 17 00:00:00 2001 From: slashformotion Date: Sun, 9 Jun 2024 15:43:06 +0200 Subject: [PATCH] tbump: init at 6.11.0 --- pkgs/by-name/tb/tbump/package.nix | 41 +++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pkgs/by-name/tb/tbump/package.nix diff --git a/pkgs/by-name/tb/tbump/package.nix b/pkgs/by-name/tb/tbump/package.nix new file mode 100644 index 000000000000..2812dd2f05d0 --- /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 ]; + }; +}