depot/third_party/nixpkgs/pkgs/development/python-modules/azure-storage-file-share/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

54 lines
1.2 KiB
Nix

{
lib,
azure-core,
buildPythonPackage,
cryptography,
fetchPypi,
isodate,
pythonOlder,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "azure-storage-file-share";
version = "12.18.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "azure_storage_file_share";
inherit version;
hash = "sha256-CoHa7l4TWYrM3jxzsa7Mxu39zsXpV79AFQwGIvuV3HY=";
};
build-system = [ setuptools ];
dependencies = [
azure-core
cryptography
isodate
typing-extensions
];
optional-dependencies = {
aio = [ azure-core ] ++ azure-core.optional-dependencies.aio;
};
# Tests require checkout from monorepo
doCheck = false;
pythonImportsCheck = [
"azure.core"
"azure.storage"
];
meta = with lib; {
description = "Microsoft Azure File Share Storage Client Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-file-share";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-storage-file-share_${version}/sdk/storage/azure-storage-file-share/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ kamadorueda ];
};
}