51 lines
910 B
Nix
51 lines
910 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
, aiodns
|
|
, aiohttp
|
|
, mock
|
|
, msrest
|
|
, pytest
|
|
, pytestCheckHook
|
|
, requests
|
|
, six
|
|
, trio
|
|
, typing-extensions
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.6.0";
|
|
pname = "azure-core";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
extension = "zip";
|
|
sha256 = "d10b74e783cff90d56360e61162afdd22276d62dc9467e657ae866449eae7648";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
six
|
|
];
|
|
|
|
checkInputs = [
|
|
aiodns
|
|
aiohttp
|
|
mock
|
|
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 ];
|
|
};
|
|
}
|