1{ stdenv, buildPythonPackage, fetchPypi, blessings, mock, nose, pyte, pytest, wcwidth }: 2 3buildPythonPackage rec { 4 pname = "curtsies"; 5 version = "0.3.0"; 6 src = fetchPypi { 7 inherit pname version; 8 sha256 = "89c802ec051d01dec6fc983e9856a3706e4ea8265d2940b1f6d504a9e26ed3a9"; 9 }; 10 11 propagatedBuildInputs = [ blessings wcwidth pyte ]; 12 13 checkInputs = [ nose mock pytest ]; 14 15 checkPhase = '' 16 py.test 17 ''; 18 19 meta = with stdenv.lib; { 20 description = "Curses-like terminal wrapper, with colored strings!"; 21 homepage = https://pypi.python.org/pypi/curtsies; 22 license = licenses.mit; 23 maintainers = with maintainers; [ flokli ]; 24 }; 25}