1{
2 lib,
3 azure-common,
4 azure-mgmt-core,
5 buildPythonPackage,
6 fetchPypi,
7 isodate,
8 pythonOlder,
9 typing-extensions,
10}:
11
12buildPythonPackage rec {
13 pname = "azure-mgmt-monitor";
14 version = "6.0.2";
15 format = "setuptools";
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-X/v1AOSZq3kSsbptJs7yZIDZrkEVMgGbt41yViGW4Hs=";
22 };
23
24 propagatedBuildInputs = [
25 isodate
26 azure-common
27 azure-mgmt-core
28 ]
29 ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
30
31 pythonNamespaces = [ "azure.mgmt" ];
32
33 # Module has no tests
34 doCheck = false;
35
36 meta = with lib; {
37 description = "This is the Microsoft Azure Monitor Client Library";
38 homepage = "https://github.com/Azure/azure-sdk-for-python";
39 license = licenses.mit;
40 maintainers = with maintainers; [ maxwilson ];
41 };
42}