Files
nixpkgs/pkgs/development/python-modules/azure-multiapi-storage/default.nix
2025-10-14 11:50:13 +02:00

56 lines
1017 B
Nix

{
lib,
azure-common,
azure-core,
buildPythonPackage,
cryptography,
fetchPypi,
msrest,
pythonOlder,
requests,
setuptools,
python-dateutil,
}:
buildPythonPackage rec {
pname = "azure-multiapi-storage";
version = "1.6.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "azure_multiapi_storage";
inherit version;
hash = "sha256-iULj9O2+3dI82hms7nlgdvvNGkDkb5qhEQ/9oxTjHFU=";
};
build-system = [ setuptools ];
dependencies = [
azure-common
azure-core
cryptography
msrest
requests
python-dateutil
];
# fix namespace
pythonNamespaces = [ "azure.multiapi" ];
# no tests included
doCheck = false;
pythonImportsCheck = [
"azure.multiapi.storagev2"
];
meta = {
description = "Microsoft Azure Storage Client Library for Python with multi API version support";
homepage = "https://github.com/Azure/azure-multiapi-storage-python";
license = lib.licenses.mit;
maintainers = [ ];
};
}