python3Packages.cattrs: propagate exceptiongroup for python<3.11

This commit is contained in:
Martin Weinelt 2022-08-04 10:37:13 +02:00
parent 4a67b03684
commit c2732c85e1
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -2,6 +2,7 @@
, attrs
, buildPythonPackage
, fetchFromGitHub
, exceptiongroup
, hypothesis
, immutables
, motor
@ -37,6 +38,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [
attrs
] ++ lib.optionals (pythonOlder "3.11") [
exceptiongroup
] ++ lib.optionals (pythonOlder "3.7") [
typing-extensions
];