2019-12-21 05:47:39 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
|
|
, aiodns
|
|
|
|
, aiohttp
|
2020-03-25 00:08:43 +01:00
|
|
|
, mock
|
2019-12-21 05:47:39 +01:00
|
|
|
, msrest
|
|
|
|
, pytest
|
|
|
|
, pytestCheckHook
|
|
|
|
, requests
|
|
|
|
, six
|
|
|
|
, trio
|
|
|
|
, typing-extensions
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-04-10 12:02:41 +02:00
|
|
|
version = "1.4.0";
|
2019-12-21 05:47:39 +01:00
|
|
|
pname = "azure-core";
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2020-04-10 12:02:41 +02:00
|
|
|
sha256 = "0vfcfpb01qsrqh9xg4xyfm153bczwjglkv59zpdvrn7x0rrdc1cc";
|
2019-12-21 05:47:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
aiodns
|
|
|
|
aiohttp
|
2020-03-25 00:08:43 +01:00
|
|
|
mock
|
2019-12-21 05:47:39 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|