python312Packages.exceptiongroup: refactor
This commit is contained in:
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user