diff --git a/pkgs/development/python-modules/pytest-rerunfailures/default.nix b/pkgs/development/python-modules/pytest-rerunfailures/default.nix index dbd2d5b20171..a219cb3752f4 100644 --- a/pkgs/development/python-modules/pytest-rerunfailures/default.nix +++ b/pkgs/development/python-modules/pytest-rerunfailures/default.nix @@ -2,7 +2,7 @@ lib, buildPythonPackage, pythonOlder, - fetchPypi, + fetchFromGitHub, setuptools, packaging, pytest, @@ -11,14 +11,16 @@ buildPythonPackage rec { pname = "pytest-rerunfailures"; - version = "15.0"; - format = "pyproject"; + version = "15.1"; + pyproject = true; disabled = pythonOlder "3.9"; - src = fetchPypi { - inherit pname version; - hash = "sha256-LZrHuvWfTBOscwtH9vqA51XRugWB2kXOMLcvs1QrRHQ="; + src = fetchFromGitHub { + owner = "pytest-dev"; + repo = "pytest-rerunfailures"; + tag = version; + hash = "sha256-ab3n61zCf9ok2PWvKTwmaeoeGuMxl0sYE25djk/NDLk="; }; build-system = [ setuptools ];