10 buildPythonPackage rec {
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
20 rev = "refs/tags/${version}";
21 hash = "sha256-a/BAU42AfMR8C94GwmrLkvSvolFEjV0LbDypvS9UuOA=";
24 build-system = [ setuptools ];
26 nativeCheckInputs = [ pytestCheckHook ];
28 pythonImportsCheck = [ "ansicolor" ];
31 description = "A library to produce ansi color output and colored highlighting and diffing";
32 homepage = "https://github.com/numerodix/ansicolor/";
33 license = licenses.asl20;
34 maintainers = with maintainers; [ ];