Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / opentelemetry-exporter-otlp / default.nix
blob75748e3b70ac08970f2fbabbe4669046dabef052
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , hatchling
5 , opentelemetry-api
6 , opentelemetry-exporter-otlp-proto-grpc
7 , opentelemetry-exporter-otlp-proto-http
8 , opentelemetry-test-utils
9 , pytestCheckHook
12 buildPythonPackage {
13   inherit (opentelemetry-api) version src;
14   pname = "opentelemetry-exporter-otlp";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   sourceRoot = "${opentelemetry-api.src.name}/exporter/opentelemetry-exporter-otlp";
21   build-system = [
22     hatchling
23   ];
25   dependencies = [
26     opentelemetry-exporter-otlp-proto-grpc
27     opentelemetry-exporter-otlp-proto-http
28   ];
30   nativeCheckInputs = [
31     opentelemetry-test-utils
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [ "opentelemetry.exporter.otlp" ];
37   meta = opentelemetry-api.meta // {
38     homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp";
39     description = "OpenTelemetry Collector Exporters";
40   };