depot/third_party/nixpkgs/pkgs/development/python-modules/azure-storage-queue/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

50 lines
1.1 KiB
Nix

{
lib,
azure-core,
buildPythonPackage,
cryptography,
fetchPypi,
isodate,
pythonOlder,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "azure-storage-queue";
version = "12.10.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-dnuj1czNtPcJdOXOYdFkx6t0cyz7K0Qd2HN2aaIRbag=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
azure-core
cryptography
isodate
typing-extensions
];
passthru.optional-dependencies = {
aio = [ azure-core ] ++ azure-core.optional-dependencies.aio;
};
# has no tests
doCheck = false;
pythonImportsCheck = [ "azure.storage.queue" ];
meta = with lib; {
description = "Client library for Microsoft Azure Storage services containing the queue service APIs";
homepage = "https://github.com/Azure/azure-sdk-for-python";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-storage-queue_${version}/sdk/storage/azure-storage-queue/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ cmcdragonkai ];
};
}