nixpkgs/pkgs/development/python-modules/azure-storage-queue/default.nix

52 lines
1.1 KiB
Nix

{
lib,
azure-core,
buildPythonPackage,
cryptography,
fetchPypi,
isodate,
pythonOlder,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "azure-storage-queue";
version = "12.12.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "azure_storage_queue";
inherit version;
hash = "sha256-uvLxvIK31PUpGSLD6k8jziJD6ULb50lPyheCKQs38eQ=";
};
build-system = [ setuptools ];
dependencies = [
azure-core
cryptography
isodate
typing-extensions
];
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 ];
};
}