2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
pythonOlder,
|
|
|
|
deprecated,
|
|
|
|
googleapis-common-protos,
|
|
|
|
hatchling,
|
|
|
|
opentelemetry-api,
|
|
|
|
opentelemetry-exporter-otlp-proto-common,
|
|
|
|
opentelemetry-proto,
|
|
|
|
opentelemetry-sdk,
|
|
|
|
opentelemetry-test-utils,
|
|
|
|
requests,
|
|
|
|
responses,
|
|
|
|
pytestCheckHook,
|
2023-07-15 17:15:38 +00:00
|
|
|
}:
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
buildPythonPackage {
|
|
|
|
inherit (opentelemetry-api) version src;
|
2023-07-15 17:15:38 +00:00
|
|
|
pname = "opentelemetry-exporter-otlp-proto-http";
|
2024-04-21 15:54:59 +00:00
|
|
|
pyproject = true;
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
sourceRoot = "${opentelemetry-api.src.name}/exporter/opentelemetry-exporter-otlp-proto-http";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
build-system = [ hatchling ];
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
dependencies = [
|
|
|
|
deprecated
|
2023-07-15 17:15:38 +00:00
|
|
|
googleapis-common-protos
|
2024-04-21 15:54:59 +00:00
|
|
|
opentelemetry-api
|
2023-07-15 17:15:38 +00:00
|
|
|
opentelemetry-exporter-otlp-proto-common
|
2024-04-21 15:54:59 +00:00
|
|
|
opentelemetry-proto
|
|
|
|
opentelemetry-sdk
|
2023-07-15 17:15:38 +00:00
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
opentelemetry-test-utils
|
|
|
|
pytestCheckHook
|
|
|
|
responses
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "opentelemetry.exporter.otlp.proto.http" ];
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
meta = opentelemetry-api.meta // {
|
2023-07-15 17:15:38 +00:00
|
|
|
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp-proto-http";
|
|
|
|
description = "OpenTelemetry Collector Protobuf over HTTP Exporter";
|
|
|
|
};
|
|
|
|
}
|