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.9.0";
16 pyproject = true;
17
18 disabled = pythonOlder "3.7";
19
20 src = fetchPypi {
21 inherit pname version;
22 hash = "sha256-mBAbDhfaDUcM9XALbEDP50Q57Dycds84OYCW5zcbnRs=";
23 };
24
25 nativeBuildInputs = [ setuptools ];
26
27 propagatedBuildInputs = [
28 azure-core
29 cryptography
30 isodate
31 typing-extensions
32 ];
33
34 passthru.optional-dependencies = {
35 aio = [ azure-core ] ++ azure-core.optional-dependencies.aio;
36 };
37
38 # has no tests
39 doCheck = false;
40
41 pythonImportsCheck = [ "azure.storage.queue" ];
42
43 meta = with lib; {
44 description = "Client library for Microsoft Azure Storage services containing the queue service APIs";
45 homepage = "https://github.com/Azure/azure-sdk-for-python";
46 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-storage-queue_${version}/sdk/storage/azure-storage-queue/CHANGELOG.md";
47 license = licenses.mit;
48 maintainers = with maintainers; [ cmcdragonkai ];
49 };
50}