diff --git a/pkgs/development/python-modules/termcolor/default.nix b/pkgs/development/python-modules/termcolor/default.nix index 1755f671b3ee..625f12b1ad2e 100644 --- a/pkgs/development/python-modules/termcolor/default.nix +++ b/pkgs/development/python-modules/termcolor/default.nix @@ -9,15 +9,15 @@ buildPythonPackage rec { pname = "termcolor"; - version = "2.4.0"; - format = "pyproject"; + version = "2.5.0"; + pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-qrnlYEfIrEHteY+jbYkqN6yms+kVnz4MJLxkqbOse3o="; + hash = "sha256-mY2NJ9ptSEQujh8BYRkHa2kNliUHUx30iQ/NLbLvim8="; }; - nativeBuildInputs = [ + build-system = [ hatch-vcs hatchling ]; @@ -26,6 +26,11 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; + preCheck = '' + substituteInPlace pyproject.toml \ + --replace-fail ".ini_options" "" + ''; + meta = with lib; { description = "ANSI color formatting for output in terminal"; homepage = "https://github.com/termcolor/termcolor";