diff --git a/pkgs/development/python-modules/exceptiongroup/default.nix b/pkgs/development/python-modules/exceptiongroup/default.nix index 7dc9c78852ea..c39354ac24cc 100644 --- a/pkgs/development/python-modules/exceptiongroup/default.nix +++ b/pkgs/development/python-modules/exceptiongroup/default.nix @@ -4,30 +4,30 @@ fetchFromGitHub, flit-scm, pytestCheckHook, - pythonOlder, pythonAtLeast, + pythonOlder, }: buildPythonPackage rec { pname = "exceptiongroup"; version = "1.2.1"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "agronholm"; repo = "exceptiongroup"; - rev = version; + rev = "refs/tags/${version}"; hash = "sha256-87HmZsbsoV7QPHux50sYsFY2RaIc3627dH3WAwqXfQU="; }; nativeBuildInputs = [ flit-scm ]; - doCheck = pythonAtLeast "3.11"; # infinite recursion with pytest - nativeCheckInputs = [ pytestCheckHook ]; + doCheck = pythonAtLeast "3.11"; # infinite recursion with pytest + pythonImportsCheck = [ "exceptiongroup" ]; meta = with lib; {