1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 termcolor, 7 pytestCheckHook, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "pytest-sugar"; 13 version = "1.1.1"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-c7i2UWPr8Q+fZx76ue7T1W8g0spovag/pkdAqSwI9l0="; 21 }; 22 23 build-system = [ 24 setuptools 25 ]; 26 27 dependencies = [ 28 termcolor 29 ]; 30 31 nativeCheckInputs = [ pytestCheckHook ]; 32 33 meta = with lib; { 34 description = "Plugin that changes the default look and feel of pytest"; 35 homepage = "https://github.com/Frozenball/pytest-sugar"; 36 changelog = "https://github.com/Teemu/pytest-sugar/releases/tag/v${version}"; 37 license = licenses.bsd3; 38 maintainers = [ ]; 39 }; 40}