From 31a6e1387f69eaaf01638764cd2fa3903d2d621d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 May 2024 00:39:31 +0200 Subject: [PATCH] python312Packages.exceptiongroup: refactor --- .../python-modules/exceptiongroup/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; {