depot/third_party/nixpkgs/pkgs/development/python-modules/azure-multiapi-storage/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

55 lines
991 B
Nix

{
lib,
azure-common,
azure-core,
buildPythonPackage,
cryptography,
fetchPypi,
msrest,
msrestazure,
pythonOlder,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "azure-multiapi-storage";
version = "1.3.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-tlKogIs39tIoMVl3p/YConfPdPrpX9oc9WqQ+FuhgQk=";
};
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 = [ ];
};
}