python3Packages.applicationinsights: modernize

This commit is contained in:
Harinn
2026-06-04 19:46:14 +07:00
parent 2e71cb5e5f
commit 4653c84dc8
@@ -6,24 +6,26 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
version = "0.11.10";
pyproject = true;
pname = "applicationinsights";
src = fetchPypi {
inherit pname version;
sha256 = "0b761f3ef0680acf4731906dfc1807faa6f2a57168ae74592db0084a6099f7b3";
inherit (finalAttrs) pname version;
hash = "sha256-C3YfPvBoCs9HMZBt/BgH+qbypXFornRZLbAISmCZ97M=";
};
build-system = [ setuptools ];
dependencies = [ portalocker ];
pythonImportsCheck = [ "applicationinsights" ];
meta = {
description = "This project extends the Application Insights API surface to support Python";
homepage = "https://github.com/Microsoft/ApplicationInsights-Python";
license = lib.licenses.mit;
maintainers = [ ];
};
}
})