1{
2 lib,
3 azure-core,
4 buildPythonPackage,
5 cryptography,
6 fetchPypi,
7 isodate,
8 pythonOlder,
9 setuptools,
10 typing-extensions,
11}:
12
13buildPythonPackage rec {
14 pname = "azure-storage-queue";
15 version = "12.13.0";
16 pyproject = true;
17
18 disabled = pythonOlder "3.7";
19
20 src = fetchPypi {
21 pname = "azure_storage_queue";
22 inherit version;
23 hash = "sha256-JWkeeVjSSXA5JFETTfpUdjf9Lfz95bNHai4VLlaXP4w=";
24 };
25
26 build-system = [ setuptools ];
27
28 dependencies = [
29 azure-core
30 cryptography
31 isodate
32 typing-extensions
33 ];
34
35 optional-dependencies = {
36 aio = [ azure-core ] ++ azure-core.optional-dependencies.aio;
37 };
38
39 # has no tests
40 doCheck = false;
41
42 pythonImportsCheck = [ "azure.storage.queue" ];
43
44 meta = with lib; {
45 description = "Client library for Microsoft Azure Storage services containing the queue service APIs";
46 homepage = "https://github.com/Azure/azure-sdk-for-python";
47 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-storage-queue_${version}/sdk/storage/azure-storage-queue/CHANGELOG.md";
48 license = licenses.mit;
49 maintainers = with maintainers; [ cmcdragonkai ];
50 };
51}