python311Packages.yaspin: force colored output in termwiz, remove outdated postPatch

This commit is contained in:
Sandro Jäckel
2024-01-18 10:43:28 +01:00
parent 116783ed5a
commit f1a7704d47
@@ -33,10 +33,9 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
# https://github.com/pavdmyt/yaspin/pull/212
substituteInPlace pyproject.toml \
--replace 'termcolor-whl = "1.1.2"' 'termcolor = "*"'
# tests assert for \033 which gets turned off in termcolor when TERM dumb is used which is used by nix
preCheck = ''
export FORCE_COLOR=1
'';
pythonImportsCheck = [