1 { lib, buildPythonPackage, fetchFromGitHub, pythonOlder
2 , trio, async-generator, hypothesis, outcome, pytest }:
4 buildPythonPackage rec {
7 disabled = pythonOlder "3.6";
9 src = fetchFromGitHub {
10 owner = "python-trio";
13 sha256 = "sha256-gUH35Yk/pBD2EdCEt8D0XQKWU8BwmX5xtAW10qRhoYk=";
16 buildInputs = [ pytest ];
18 propagatedBuildInputs = [
29 # broken with pytest 5 and 6
33 PYTHONPATH=$PWD:$PYTHONPATH pytest
36 pythonImportsCheck = [ "pytest_trio" ];
39 description = "Pytest plugin for trio";
40 homepage = "https://github.com/python-trio/pytest-trio";
41 license = licenses.asl20;
42 maintainers = with maintainers; [ hexa ];