10 buildPythonPackage rec {
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
18 inherit pname version;
20 sha256 = "ca0c740734cde59bf919f8ff2c386f74f9a369818cdc60efe94893d01ea8d9b7";
24 # https://github.com/jonathaneunice/ansiwrap/issues/18
25 substituteInPlace test/test_ansiwrap.py \
26 --replace "set(range(20, 120)).difference(LINE_LENGTHS)" "sorted(set(range(20, 120)).difference(LINE_LENGTHS))" \
27 --replace "set(range(120, 400)).difference(LINE_LENGTHS)" "sorted(set(range(120, 400)).difference(LINE_LENGTHS))"
35 propagatedBuildInputs = [
39 pythonImportsCheck = [
44 description = "Textwrap, but savvy to ANSI colors and styles";
45 homepage = "https://github.com/jonathaneunice/ansiwrap";
46 changelog = "https://github.com/jonathaneunice/ansiwrap/blob/master/CHANGES.yml";
47 license = licenses.asl20;
48 maintainers = with maintainers; [ ];