Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / opentelemetry-exporter-otlp-proto-common / default.nix
blob8a43e9b4cda4267da78fdea7f50c0c06c6e3e9c2
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , hatchling
5 , backoff
6 , opentelemetry-api
7 , opentelemetry-proto
8 , opentelemetry-sdk
9 , opentelemetry-test-utils
10 , pytestCheckHook
13 buildPythonPackage {
14   inherit (opentelemetry-api) version src;
15   pname = "opentelemetry-exporter-otlp-proto-common";
16   disabled = pythonOlder "3.7";
18   sourceRoot = "${opentelemetry-api.src.name}/exporter/opentelemetry-exporter-otlp-proto-common";
20   format = "pyproject";
22   nativeBuildInputs = [
23     hatchling
24   ];
26   propagatedBuildInputs = [
27     backoff
28     opentelemetry-sdk
29     opentelemetry-proto
30   ];
32   nativeCheckInputs = [
33     opentelemetry-test-utils
34     pytestCheckHook
35   ];
37   pythonImportsCheck = [ "opentelemetry.exporter.otlp.proto.common" ];
39   meta = opentelemetry-api.meta // {
40     homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp-proto-common";
41     description = "OpenTelemetry Protobuf encoding";
42   };