about summary refs log tree commit diff
path: root/pkgs/by-name
diff options
context:
space:
mode:
authorslashformotion <slashformotion@protonmail.com>2024-06-09 15:43:06 +0200
committerslashformotion <slashformotion@protonmail.com>2024-06-12 21:43:07 +0200
commit1fc321ee73e3fa8d5da3f75a8ebe81761e2ceaf2 (patch)
tree4afc23c17203bff897c8758ed3d1678f718d2ad0 /pkgs/by-name
parent7ca220b9f6dca9515a3944ed07aec0203ea69973 (diff)
tbump: init at 6.11.0
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/tb/tbump/package.nix41
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 ];
+  };
+}