2024-04-21 15:54:59 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
azure-common,
|
|
|
|
azure-core,
|
|
|
|
buildPythonPackage,
|
|
|
|
cryptography,
|
|
|
|
fetchPypi,
|
|
|
|
msrest,
|
|
|
|
msrestazure,
|
|
|
|
pythonOlder,
|
|
|
|
requests,
|
|
|
|
setuptools,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-multiapi-storage";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.2.0";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.9";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-CQuoWHeh0EMitTRsvifotrTwpWd/Q9LWWD7jZ2w9r8I=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
dependencies = [
|
2020-05-29 06:06:01 +00:00
|
|
|
azure-common
|
|
|
|
azure-core
|
2024-04-21 15:54:59 +00:00
|
|
|
cryptography
|
2020-05-29 06:06:01 +00:00
|
|
|
msrest
|
|
|
|
msrestazure
|
|
|
|
requests
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# fix namespace
|
|
|
|
pythonNamespaces = [ "azure.multiapi" ];
|
|
|
|
|
|
|
|
# no tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"azure.common"
|
|
|
|
"azure.multiapi.storage"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|