diff --git a/pkgs/development/python-modules/pytest-xvfb/default.nix b/pkgs/development/python-modules/pytest-xvfb/default.nix index ba067c19658a..aef430a8e6fb 100644 --- a/pkgs/development/python-modules/pytest-xvfb/default.nix +++ b/pkgs/development/python-modules/pytest-xvfb/default.nix @@ -3,20 +3,24 @@ , fetchPypi , pytest , pyvirtualdisplay -, isPy27 +, pythonOlder }: buildPythonPackage rec { pname = "pytest-xvfb"; - version = "2.0.0"; - disabled = isPy27; + version = "3.0.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "1kyq5rg27dsnj7dc6x9y7r8vwf8rc88y2ppnnw6r96alw0nn9fn4"; + hash = "sha256-N0arH00RWfA/dRY40FNonM0oQpGzi4+wPT67579pz8A="; }; - buildInputs = [ pytest ]; + buildInputs = [ + pytest + ]; propagatedBuildInputs = [ pyvirtualdisplay @@ -25,6 +29,7 @@ buildPythonPackage rec { meta = with lib; { description = "A pytest plugin to run Xvfb for tests"; homepage = "https://github.com/The-Compiler/pytest-xvfb"; + changelog = "https://github.com/The-Compiler/pytest-xvfb/blob/v${version}/CHANGELOG.rst"; license = licenses.mit; maintainers = with maintainers; [ costrouc ]; };