python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / opentelemetry-semantic-conventions / default.nix
blobab2db17a42186626b9cdf5e96001037d1730fa50
2   buildPythonPackage,
3   pythonOlder,
4   hatchling,
5   opentelemetry-api,
6   opentelemetry-instrumentation,
7   pytestCheckHook,
8 }:
10 buildPythonPackage {
11   inherit (opentelemetry-api) src;
12   pname = "opentelemetry-semantic-conventions";
13   # This package is in the same repository as `opentelemetry-api`,
14   # but its version is synchronized with `opentelemetry-instrumentation` in another repository.
15   version = opentelemetry-instrumentation.version;
16   pyproject = true;
18   disabled = pythonOlder "3.8";
20   sourceRoot = "${opentelemetry-api.src.name}/opentelemetry-semantic-conventions";
22   build-system = [ hatchling ];
24   dependencies = [ opentelemetry-api ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "opentelemetry.semconv" ];
30   meta = opentelemetry-api.meta // {
31     homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-semantic-conventions";
32     description = "OpenTelemetry Semantic Conventions";
33   };