evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / opentelemetry-exporter-otlp-proto-http / default.nix
blob0599140c562bb3c3da495a4f48df1042c838f5f8
2   buildPythonPackage,
3   pythonOlder,
4   deprecated,
5   googleapis-common-protos,
6   hatchling,
7   opentelemetry-api,
8   opentelemetry-exporter-otlp-proto-common,
9   opentelemetry-proto,
10   opentelemetry-sdk,
11   opentelemetry-test-utils,
12   requests,
13   responses,
14   pytestCheckHook,
17 buildPythonPackage {
18   inherit (opentelemetry-api) version src;
19   pname = "opentelemetry-exporter-otlp-proto-http";
20   pyproject = true;
22   disabled = pythonOlder "3.8";
24   sourceRoot = "${opentelemetry-api.src.name}/exporter/opentelemetry-exporter-otlp-proto-http";
26   build-system = [ hatchling ];
28   dependencies = [
29     deprecated
30     googleapis-common-protos
31     opentelemetry-api
32     opentelemetry-exporter-otlp-proto-common
33     opentelemetry-proto
34     opentelemetry-sdk
35     requests
36   ];
38   nativeCheckInputs = [
39     opentelemetry-test-utils
40     pytestCheckHook
41     responses
42   ];
44   pythonImportsCheck = [ "opentelemetry.exporter.otlp.proto.http" ];
46   meta = opentelemetry-api.meta // {
47     homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp-proto-http";
48     description = "OpenTelemetry Collector Protobuf over HTTP Exporter";
49   };