Fabian Affolter 2025-08-13 11:01:01 +02:00
parent 59b13b09c8
commit f26dcfe0af

View File

@ -2,32 +2,33 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchPypi,
msrest, isodate,
msrestazure,
azure-common, azure-common,
azure-mgmt-core, azure-mgmt-core,
azure-mgmt-nspkg, setuptools,
isPy3k, pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "azure-mgmt-applicationinsights"; pname = "azure-mgmt-applicationinsights";
version = "4.0.0"; version = "4.1.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.11";
src = fetchPypi { src = fetchPypi {
inherit pname version; pname = "azure_mgmt_applicationinsights";
extension = "zip"; inherit version;
hash = "sha256-UMPbBVc+DMLVYxSgVW+zRu8F7EiawAD01yDZLGtkfgY="; hash = "sha256-FVMTkPEs49dnzT8ZSa82qjkHfBRclS/sTYAwPIbse2w=";
}; };
propagatedBuildInputs = [ build-system = [ setuptools ];
dependencies = [
azure-common azure-common
azure-mgmt-core azure-mgmt-core
msrest isodate
msrestazure ];
]
++ lib.optionals (!isPy3k) [ azure-mgmt-nspkg ];
pythonNamespaces = [ "azure.mgmt" ]; pythonNamespaces = [ "azure.mgmt" ];
@ -36,10 +37,9 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "This is the Microsoft Azure Application Insights Management Client Library"; 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; license = licenses.mit;
maintainers = with maintainers; [ maintainers = with maintainers; [ maxwilson ];
maxwilson
];
}; };
} }