From d7425c034c058c5e26cf6486ba00e21538573890 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 6 May 2023 00:18:46 +0200 Subject: [PATCH 1/2] python310Packages.pytest-sugar: 0.9.6 -> 0.9.7 --- pkgs/development/python-modules/pytest-sugar/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-sugar/default.nix b/pkgs/development/python-modules/pytest-sugar/default.nix index 16f2acda862b..785442fc14ad 100644 --- a/pkgs/development/python-modules/pytest-sugar/default.nix +++ b/pkgs/development/python-modules/pytest-sugar/default.nix @@ -9,11 +9,11 @@ buildPythonPackage rec { pname = "pytest-sugar"; - version = "0.9.6"; + version = "0.9.7"; src = fetchPypi { inherit pname version; - hash = "sha256-xHk0lfPDLhFPD1QWKQlGwxbrlq1aNoTc2t2pJn5Zsrg="; + hash = "sha256-8edMGr+lX3JBz3CIAytuN4Vm8WuTjz8IkF4s9ElO3UY="; }; buildInputs = [ pytest ]; From a96895f2d3b218a91b65dd88a522cc9e28caa939 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 6 May 2023 00:23:16 +0200 Subject: [PATCH 2/2] python310Packages.pytest-sugar: add changelog to meta --- .../python-modules/pytest-sugar/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pytest-sugar/default.nix b/pkgs/development/python-modules/pytest-sugar/default.nix index 785442fc14ad..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.7"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; 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 ]; }; }