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