{ lib, buildPythonPackage, fetchPypi, isPy27 , aiodns , aiohttp , mock , msrest , pytest , pytest-asyncio , pytest-trio , pytestCheckHook , requests , six , trio , typing-extensions }: buildPythonPackage rec { version = "1.12.0"; pname = "azure-core"; disabled = isPy27; src = fetchPypi { inherit pname version; extension = "zip"; sha256 = "adf2b1c6ef150a92295b4b405f982a9d2c55c4846728cb14760ca592acbb09ec"; }; propagatedBuildInputs = [ requests six ]; checkInputs = [ aiodns aiohttp mock msrest pytest pytest-trio pytest-asyncio pytestCheckHook trio typing-extensions ]; pytestFlagsArray = [ "tests/" ]; # disable tests which touch network disabledTests = [ "aiohttp" "multipart_send" "response" "request" "timeout" ]; meta = with lib; { description = "Microsoft Azure Core Library for Python"; homepage = "https://github.com/Azure/azure-sdk-for-python"; license = licenses.mit; maintainers = with maintainers; [ jonringer ]; }; }