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