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

View File

@ -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 ];
};
}