17 buildPythonPackage rec {
21 disabled = pythonOlder "3.7";
23 src = fetchFromGitHub {
27 sha256 = "0ram1niv2lg9qj53zssph104a4kxl8f94ilfn6mibn034m3ikcc8";
30 propagatedBuildInputs = [
33 ] ++ lib.optionals (pythonOlder "3.8") [
48 "--ignore=tests/test_sockets.py"
49 ] ++ lib.optionals stdenv.isDarwin [
50 # darwin sandboxing limitations
51 "--ignore=tests/streams/test_tls.py"
54 pythonImportsCheck = [ "anyio" ];
57 description = "High level compatibility layer for multiple asynchronous event loop implementations on Python";
58 homepage = "https://github.com/agronholm/anyio";
59 license = licenses.mit;
60 maintainers = with maintainers; [ hexa ];