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

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
];