1{ lib 2, buildPythonPackage 3, fetchPypi 4, termcolor 5, pytest 6, packaging 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "pytest-sugar"; 12 version = "0.9.5"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "sha256-7qeLbxW2NSd9PZAoDNOG2P7qHKsPm+dZR6Ym6LArR30="; 17 }; 18 19 buildInputs = [ pytest ]; 20 21 propagatedBuildInputs = [ 22 termcolor 23 packaging 24 ]; 25 26 checkInputs = [ 27 pytestCheckHook 28 ]; 29 30 meta = with lib; { 31 description = "A plugin that changes the default look and feel of py.test"; 32 homepage = "https://github.com/Frozenball/pytest-sugar"; 33 license = licenses.bsd3; 34 maintainers = [ maintainers.costrouc ]; 35 }; 36}