python312Packages.ansiwrap: disable

Uses the imp module, which was removed in Python 3.12.
This commit is contained in:
Martin Weinelt
2023-12-20 20:46:15 +01:00
parent 6b7158329e
commit 5501979bba
@@ -3,6 +3,7 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, textwrap3
}:
@@ -12,7 +13,7 @@ buildPythonPackage rec {
version = "0.8.4";
format = "setuptools";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.7" || pythonAtLeast "3.12";
src = fetchPypi {
inherit pname version;