1{ stdenv, buildPythonPackage, fetchPypi }: 2 3buildPythonPackage rec { 4 pname = "ansicolor"; 5 version = "0.2.4"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "0zlkk9706xn5yshwzdn8xsfkim8iv44zsl6qjwg2f4gn62rqky1h"; 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}