2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
msrest,
|
|
|
|
msrestazure,
|
|
|
|
azure-common,
|
|
|
|
azure-mgmt-core,
|
|
|
|
azure-mgmt-nspkg,
|
|
|
|
isPy3k,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-mgmt-applicationinsights";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "4.0.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2023-04-29 16:46:19 +00:00
|
|
|
hash = "sha256-UMPbBVc+DMLVYxSgVW+zRu8F7EiawAD01yDZLGtkfgY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-03-15 08:37:03 +00:00
|
|
|
azure-common
|
|
|
|
azure-mgmt-core
|
2020-04-24 23:36:52 +00:00
|
|
|
msrest
|
|
|
|
msrestazure
|
2024-06-05 15:53:02 +00:00
|
|
|
] ++ lib.optionals (!isPy3k) [ azure-mgmt-nspkg ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
pythonNamespaces = [ "azure.mgmt" ];
|
|
|
|
|
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "This is the Microsoft Azure Application Insights Management Client Library";
|
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
|
|
license = licenses.mit;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
maxwilson
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|