2024-05-20 06:46:12 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
azure-core,
|
|
|
|
buildPythonPackage,
|
|
|
|
cryptography,
|
|
|
|
fetchPypi,
|
|
|
|
isodate,
|
|
|
|
msrest,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
|
|
|
typing-extensions,
|
2020-01-24 02:52:21 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-storage-file-share";
|
2024-05-19 20:44:16 +00:00
|
|
|
version = "12.16.0";
|
2024-05-20 06:45:56 +00:00
|
|
|
pyproject = true;
|
2022-05-11 06:33:46 +00:00
|
|
|
|
2024-05-20 06:45:56 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
2020-01-24 02:52:21 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-05-19 20:44:16 +00:00
|
|
|
hash = "sha256-QS+35sPCj29yKvmBlapZQHqqMjI6+hOkoB9i0Lh3TrM=";
|
2020-01-24 02:52:21 +00:00
|
|
|
};
|
|
|
|
|
2024-05-20 06:46:12 +00:00
|
|
|
build-system = [ setuptools ];
|
2024-05-20 06:45:56 +00:00
|
|
|
|
|
|
|
dependencies = [
|
2020-01-24 02:52:21 +00:00
|
|
|
azure-core
|
|
|
|
cryptography
|
2022-10-19 16:56:56 +00:00
|
|
|
isodate
|
|
|
|
typing-extensions
|
2020-01-24 02:52:21 +00:00
|
|
|
];
|
|
|
|
|
2024-05-20 06:45:56 +00:00
|
|
|
passthru.optional-dependencies = {
|
2024-05-20 06:46:12 +00:00
|
|
|
aio = [ azure-core ] ++ azure-core.optional-dependencies.aio;
|
2024-05-20 06:45:56 +00:00
|
|
|
};
|
|
|
|
|
2023-09-16 11:40:30 +00:00
|
|
|
# Tests require checkout from monorepo
|
2020-01-24 02:52:21 +00:00
|
|
|
doCheck = false;
|
2022-05-11 06:33:46 +00:00
|
|
|
|
2020-01-24 02:52:21 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"azure.core"
|
|
|
|
"azure.storage"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Microsoft Azure File Share Storage Client Library for Python";
|
2024-05-20 06:45:56 +00:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-file-share";
|
2023-09-16 11:40:30 +00:00
|
|
|
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-storage-file-share_${version}/sdk/storage/azure-storage-file-share/CHANGELOG.md";
|
2020-01-24 02:52:21 +00:00
|
|
|
license = licenses.mit;
|
2022-05-11 06:33:46 +00:00
|
|
|
maintainers = with maintainers; [ kamadorueda ];
|
2020-01-24 02:52:21 +00:00
|
|
|
};
|
|
|
|
}
|