diff --git a/pkgs/development/python-modules/pytest-sugar/default.nix b/pkgs/development/python-modules/pytest-sugar/default.nix index 16f2acda862b..c744a2926b02 100644 --- a/pkgs/development/python-modules/pytest-sugar/default.nix +++ b/pkgs/development/python-modules/pytest-sugar/default.nix @@ -5,18 +5,24 @@ , pytest , packaging , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "pytest-sugar"; - version = "0.9.6"; + version = "0.9.7"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-xHk0lfPDLhFPD1QWKQlGwxbrlq1aNoTc2t2pJn5Zsrg="; + hash = "sha256-8edMGr+lX3JBz3CIAytuN4Vm8WuTjz8IkF4s9ElO3UY="; }; - buildInputs = [ pytest ]; + buildInputs = [ + pytest + ]; propagatedBuildInputs = [ termcolor @@ -28,9 +34,10 @@ buildPythonPackage rec { ]; meta = with lib; { - description = "A plugin that changes the default look and feel of py.test"; + description = "A plugin that changes the default look and feel of pytest"; homepage = "https://github.com/Frozenball/pytest-sugar"; + changelog = "https://github.com/Teemu/pytest-sugar/releases/tag/v${version}"; license = licenses.bsd3; - maintainers = [ maintainers.costrouc ]; + maintainers = with maintainers; [ costrouc ]; }; }