2019-12-21 04:47:39 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
|
|
, aiodns
|
|
|
|
, aiohttp
|
2020-03-24 23:08:43 +00:00
|
|
|
, mock
|
2019-12-21 04:47:39 +00:00
|
|
|
, msrest
|
|
|
|
, pytest
|
|
|
|
, pytestCheckHook
|
|
|
|
, requests
|
|
|
|
, six
|
|
|
|
, trio
|
|
|
|
, typing-extensions
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-06-06 07:46:58 +01:00
|
|
|
version = "1.6.0";
|
2019-12-21 04:47:39 +00:00
|
|
|
pname = "azure-core";
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2020-06-06 07:46:58 +01:00
|
|
|
sha256 = "d10b74e783cff90d56360e61162afdd22276d62dc9467e657ae866449eae7648";
|
2019-12-21 04:47:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
aiodns
|
|
|
|
aiohttp
|
2020-03-24 23:08:43 +00:00
|
|
|
mock
|
2019-12-21 04:47:39 +00:00
|
|
|
msrest
|
|
|
|
pytest
|
|
|
|
pytestCheckHook
|
|
|
|
trio
|
|
|
|
typing-extensions
|
|
|
|
];
|
|
|
|
|
|
|
|
pytestFlagsArray = [ "tests/" ];
|
|
|
|
disabledTests = [ "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 ];
|
|
|
|
};
|
|
|
|
}
|