mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
python3Packages.exceptiongroup: adjust dependencies for Python<=3.12
This commit is contained in:
parent
01b54c6285
commit
6bf5fb2e45
1 changed files with 4 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
pythonAtLeast,
|
pythonAtLeast,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
|
typing-extensions,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -22,7 +23,9 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-b3Z1NsYKp0CecUq8kaC/j3xR/ZZHDIw4MhUeadizz88=";
|
hash = "sha256-b3Z1NsYKp0CecUq8kaC/j3xR/ZZHDIw4MhUeadizz88=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ flit-scm ];
|
build-system = [ flit-scm ];
|
||||||
|
|
||||||
|
dependencies = lib.optionals (pythonOlder "3.13") [ typing-extensions ];
|
||||||
|
|
||||||
nativeCheckInputs = [ pytestCheckHook ];
|
nativeCheckInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue