1{ stdenv, buildPythonPackage, fetchPypi }: 2 3buildPythonPackage rec { 4 pname = "ansicolor"; 5 version = "0.2.6"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "d17e1b07b9dd7ded31699fbca53ae6cd373584f9b6dcbc124d1f321ebad31f1d"; 11 }; 12 13 meta = with stdenv.lib; { 14 homepage = https://github.com/numerodix/ansicolor/; 15 description = "A library to produce ansi color output and colored highlighting and diffing"; 16 license = licenses.asl20; 17 maintainers = with maintainers; [ andsild ]; 18 }; 19}