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