1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytest, 6}: 7 8buildPythonPackage rec { 9 pname = "ansicolors"; 10 version = "1.1.8"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 extension = "zip"; 16 sha256 = "99f94f5e3348a0bcd43c82e5fc4414013ccc19d70bd939ad71e0133ce9c372e0"; 17 }; 18 19 nativeCheckInputs = [ pytest ]; 20 21 checkPhase = '' 22 py.test 23 ''; 24 25 meta = with lib; { 26 homepage = "https://github.com/verigak/colors/"; 27 description = "ANSI colors for Python"; 28 license = licenses.isc; 29 maintainers = [ ]; 30 }; 31}