0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

python3Packages.exceptiongroup: adjust dependencies for Python<=3.12

This commit is contained in:
Martin Weinelt 2025-06-03 23:33:28 +02:00
parent 01b54c6285
commit 6bf5fb2e45
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -6,6 +6,7 @@
pytestCheckHook,
pythonAtLeast,
pythonOlder,
typing-extensions,
}:
buildPythonPackage rec {
@ -22,7 +23,9 @@ buildPythonPackage rec {
hash = "sha256-b3Z1NsYKp0CecUq8kaC/j3xR/ZZHDIw4MhUeadizz88=";
};
nativeBuildInputs = [ flit-scm ];
build-system = [ flit-scm ];
dependencies = lib.optionals (pythonOlder "3.13") [ typing-extensions ];
nativeCheckInputs = [ pytestCheckHook ];