1{ lib
2, azure-core
3, buildPythonPackage
4, cryptography
5, fetchPypi
6, isodate
7, pythonOlder
8, typing-extensions
9}:
10
11buildPythonPackage rec {
12 pname = "azure-storage-queue";
13 version = "12.8.0";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-mHwAjOv6d+Xh6mwKhVK6w3Rsh3HgijntkvEmRqOrYRk=";
21 };
22
23 propagatedBuildInputs = [
24 azure-core
25 cryptography
26 isodate
27 typing-extensions
28 ];
29
30 passthru.optional-dependencies = {
31 aio = [
32 azure-core
33 ] ++ azure-core.optional-dependencies.aio;
34 };
35
36 # has no tests
37 doCheck = false;
38
39 pythonImportsCheck = [
40 "azure.storage.queue"
41 ];
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}