1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 six, 6 nose, 7}: 8 9buildPythonPackage rec { 10 pname = "blessings"; 11 version = "1.7"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "98e5854d805f50a5b58ac2333411b0482516a8210f23f43308baeb58d77c157d"; 17 }; 18 19 # 4 failing tests, 2to3 20 doCheck = false; 21 22 propagatedBuildInputs = [ six ]; 23 nativeCheckInputs = [ nose ]; 24 25 checkPhase = '' 26 nosetests 27 ''; 28 29 meta = with lib; { 30 homepage = "https://github.com/erikrose/blessings"; 31 description = "A thin, practical wrapper around terminal coloring, styling, and positioning"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ domenkozar ]; 34 }; 35}