python3Packages.trio: Propagate exceptiongroup for python<3.11
This commit is contained in:
parent
fce67420c4
commit
923d489a22
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue