From e10e2fc22d431ae80d031d457ec0aa2c37201d20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 27 Nov 2025 22:42:22 -0800 Subject: [PATCH] python3Packages.incremental: 24.7.2 -> 24.11.0 Diff: https://github.com/twisted/incremental/compare/incremental-24.7.2...incremental-24.11.0 Changelog: https://github.com/twisted/incremental/blob/incremental-24.11.0/NEWS.rst --- .../python-modules/incremental/default.nix | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/incremental/default.nix b/pkgs/development/python-modules/incremental/default.nix index dd15dca3079d..eb28003c170a 100644 --- a/pkgs/development/python-modules/incremental/default.nix +++ b/pkgs/development/python-modules/incremental/default.nix @@ -1,10 +1,10 @@ { buildPythonPackage, - click, fetchFromGitHub, + hatchling, lib, + packaging, pythonOlder, - setuptools, tomli, twisted, }: @@ -12,25 +12,19 @@ let incremental = buildPythonPackage rec { pname = "incremental"; - version = "24.7.2"; + version = "24.11.0"; pyproject = true; src = fetchFromGitHub { owner = "twisted"; repo = "incremental"; tag = "incremental-${version}"; - hash = "sha256-5MlIKUaBUwLTet23Rjd2Opf5e54LcHuZDowcGon0lOE="; + hash = "sha256-GkTCQYGrgCUzizSgKhWeqJ25pfaYA7eUJIHt0q/iO0E="; }; - # From upstream's pyproject.toml: - # "Keep this aligned with the project dependencies." - build-system = dependencies; + build-system = [ hatchling ]; - dependencies = [ setuptools ] ++ lib.optionals (pythonOlder "3.11") [ tomli ]; - - optional-dependencies = { - scripts = [ click ]; - }; + dependencies = [ packaging ] ++ lib.optionals (pythonOlder "3.11") [ tomli ]; # escape infinite recursion with twisted doCheck = false; @@ -50,10 +44,11 @@ let pythonImportsCheck = [ "incremental" ]; meta = { - changelog = "https://github.com/twisted/incremental/blob/${src.rev}/NEWS.rst"; + changelog = "https://github.com/twisted/incremental/blob/${src.tag}/NEWS.rst"; homepage = "https://github.com/twisted/incremental"; description = "Small library that versions your Python projects"; license = lib.licenses.mit; + mainProgram = "incremental"; maintainers = with lib.maintainers; [ dotlambda ]; }; };