diff --git a/pkgs/development/python-modules/azure-mgmt-applicationinsights/default.nix b/pkgs/development/python-modules/azure-mgmt-applicationinsights/default.nix index 5d0c79348065..bddf1a0188d6 100644 --- a/pkgs/development/python-modules/azure-mgmt-applicationinsights/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-applicationinsights/default.nix @@ -2,32 +2,33 @@ lib, buildPythonPackage, fetchPypi, - msrest, - msrestazure, + isodate, azure-common, azure-mgmt-core, - azure-mgmt-nspkg, - isPy3k, + setuptools, + pythonOlder, }: buildPythonPackage rec { pname = "azure-mgmt-applicationinsights"; - version = "4.0.0"; - format = "setuptools"; + version = "4.1.0"; + pyproject = true; + + disabled = pythonOlder "3.11"; src = fetchPypi { - inherit pname version; - extension = "zip"; - hash = "sha256-UMPbBVc+DMLVYxSgVW+zRu8F7EiawAD01yDZLGtkfgY="; + pname = "azure_mgmt_applicationinsights"; + inherit version; + hash = "sha256-FVMTkPEs49dnzT8ZSa82qjkHfBRclS/sTYAwPIbse2w="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ azure-common azure-mgmt-core - msrest - msrestazure - ] - ++ lib.optionals (!isPy3k) [ azure-mgmt-nspkg ]; + isodate + ]; pythonNamespaces = [ "azure.mgmt" ]; @@ -36,10 +37,9 @@ buildPythonPackage rec { meta = with lib; { description = "This is the Microsoft Azure Application Insights Management Client Library"; - homepage = "https://github.com/Azure/azure-sdk-for-python"; + homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/applicationinsights/azure-mgmt-applicationinsights"; + changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-applicationinsights_${version}/sdk/applicationinsights/azure-mgmt-applicationinsights/CHANGELOG.md"; license = licenses.mit; - maintainers = with maintainers; [ - maxwilson - ]; + maintainers = with maintainers; [ maxwilson ]; }; }