python3Packages.trio: Propagate exceptiongroup for python<3.11

This commit is contained in:
Martin Weinelt 2023-01-09 01:13:29 +01:00
parent fce67420c4
commit 923d489a22
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -2,6 +2,7 @@
, attrs
, sortedcontainers
, async_generator
, exceptiongroup
, idna
, outcome
, pytestCheckHook
@ -18,11 +19,12 @@
buildPythonPackage rec {
pname = "trio";
version = "0.22.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-zmjxxUAKR7E3xaTecsfJAb1OeiT73r/ptB3oxsBOqs8=";
hash = "sha256-zmjxxUAKR7E3xaTecsfJAb1OeiT73r/ptB3oxsBOqs8=";
};
propagatedBuildInputs = [
@ -32,6 +34,8 @@ buildPythonPackage rec {
idna
outcome
sniffio
] ++ lib.optionals (pythonOlder "3.11") [
exceptiongroup
];
# tests are failing on Darwin