pythonPackages.trio: fix build (#46342)

Fixes the build for `python3Packages.trio' for the next ZHF iteration.
Please refer to the Hydra build for further reference: https://hydra.nixos.org/build/80617356

`python3Packages.sniffio` is needed for the build, otherwise the build
aborts with an error like this:

```
  Could not find a version that satisfies the requirement sniffio (from trio==0.6.0) (from versions: )
No matching distribution found for sniffio (from trio==0.6.0)
```

See #45960
This commit is contained in:
Maximilian Bosch
2018-09-08 01:02:55 +02:00
committed by xeji
parent 56d0a70ef5
commit 218ac50fd4
3 changed files with 34 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
, pytest
, pyopenssl
, trustme
, sniffio
}:
buildPythonPackage rec {
@@ -31,6 +32,7 @@ buildPythonPackage rec {
async_generator
idna
outcome
sniffio
] ++ lib.optionals (pythonOlder "3.7") [ contextvars ];
meta = {