587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
55 lines
1,020 B
Nix
55 lines
1,020 B
Nix
{
|
|
lib,
|
|
azure-common,
|
|
azure-core,
|
|
buildPythonPackage,
|
|
cryptography,
|
|
fetchPypi,
|
|
msrest,
|
|
msrestazure,
|
|
pythonOlder,
|
|
requests,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-multiapi-storage";
|
|
version = "1.2.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-CQuoWHeh0EMitTRsvifotrTwpWd/Q9LWWD7jZ2w9r8I=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
azure-common
|
|
azure-core
|
|
cryptography
|
|
msrest
|
|
msrestazure
|
|
requests
|
|
];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|