2021-03-15 08:37:03 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
2020-04-24 23:36:52 +00:00
|
|
|
, azure-common
|
2020-05-29 06:06:01 +00:00
|
|
|
, azure-core
|
2020-04-24 23:36:52 +00:00
|
|
|
, msrest
|
|
|
|
, msrestazure
|
2020-05-29 06:06:01 +00:00
|
|
|
, requests
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-10-14 00:43:12 +00:00
|
|
|
version = "0.7.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "azure-multiapi-storage";
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-14 00:43:12 +00:00
|
|
|
sha256 = "cd4f184be8c9ca8aca969f93ed50dc7fe556d28ca11520440fc182cf876abdf9";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-05-29 06:06:01 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-common
|
|
|
|
azure-core
|
|
|
|
msrest
|
|
|
|
msrestazure
|
|
|
|
requests
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# fix namespace
|
|
|
|
pythonNamespaces = [ "azure.multiapi" ];
|
|
|
|
|
|
|
|
# no tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "azure.common" "azure.multiapi.storage" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Microsoft Azure Storage Client Library for Python with multi API version support.";
|
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|