1{
2 lib,
3 azure-common,
4 azure-core,
5 buildPythonPackage,
6 cryptography,
7 fetchPypi,
8 msrest,
9 pythonOlder,
10 requests,
11 setuptools,
12 python-dateutil,
13}:
14
15buildPythonPackage rec {
16 pname = "azure-multiapi-storage";
17 version = "1.4.0";
18 pyproject = true;
19
20 disabled = pythonOlder "3.9";
21
22 src = fetchPypi {
23 inherit pname version;
24 hash = "sha256-RfFd+1xL2ouWJ3NLXMcsRfQ215bi4ha+iCOcYXjND3E=";
25 };
26
27 build-system = [ setuptools ];
28
29 dependencies = [
30 azure-common
31 azure-core
32 cryptography
33 msrest
34 requests
35 python-dateutil
36 ];
37
38 # fix namespace
39 pythonNamespaces = [ "azure.multiapi" ];
40
41 # no tests included
42 doCheck = false;
43
44 pythonImportsCheck = [
45 "azure.multiapi.storage"
46 ];
47
48 meta = {
49 description = "Microsoft Azure Storage Client Library for Python with multi API version support";
50 homepage = "https://github.com/Azure/azure-multiapi-storage-python";
51 license = lib.licenses.mit;
52 maintainers = [ ];
53 };
54}