1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 azure-mgmt-common,
6 azure-mgmt-core,
7 isodate,
8 pythonOlder,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "azure-mgmt-storage";
14 version = "21.2.1";
15 pyproject = true;
16
17 disabled = pythonOlder "3.8";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-UDp/+cMSVAkrBlZEX1cov9/aLQnUaoLpcBnqqaHs7GQ=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 azure-mgmt-common
28 azure-mgmt-core
29 isodate
30 ];
31
32 pythonNamespaces = [ "azure.mgmt" ];
33
34 pythonImportsCheck = [ "azure.mgmt.storage" ];
35
36 # Module has no tests
37 doCheck = false;
38
39 meta = with lib; {
40 description = "This is the Microsoft Azure Storage Management Client Library";
41 homepage = "https://github.com/Azure/azure-sdk-for-python";
42 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-storage_${version}/sdk/storage/azure-mgmt-storage/CHANGELOG.md";
43 license = licenses.mit;
44 maintainers = with maintainers; [
45 olcai
46 maxwilson
47 ];
48 };
49}