biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / opentelemetry-instrumentation-wsgi / default.nix
blobe640ec9597540e4b483ca5fe437a49e5ef16a277
2   buildPythonPackage,
3   pythonOlder,
4   hatchling,
5   opentelemetry-api,
6   opentelemetry-instrumentation,
7   opentelemetry-semantic-conventions,
8   opentelemetry-test-utils,
9   opentelemetry-util-http,
10   pytestCheckHook,
13 buildPythonPackage {
14   inherit (opentelemetry-instrumentation) version src;
15   pname = "opentelemetry-instrumentation-wsgi";
16   pyproject = true;
18   disabled = pythonOlder "3.8";
20   sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-wsgi";
22   build-system = [ hatchling ];
24   dependencies = [
25     opentelemetry-instrumentation
26     opentelemetry-api
27     opentelemetry-semantic-conventions
28     opentelemetry-util-http
29   ];
31   nativeCheckInputs = [
32     opentelemetry-test-utils
33     pytestCheckHook
34   ];
36   pythonImportsCheck = [ "opentelemetry.instrumentation.wsgi" ];
38   meta = opentelemetry-instrumentation.meta // {
39     homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-wsgi";
40     description = "WSGI Middleware for OpenTelemetry";
41   };