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 {
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "0.8.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "azure-multiapi-storage";
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-ZRiqnxPRdSOqyRMwuvxqKiZcxMbhVEYJ09CIlepc/B4=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|