2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, hatchling
|
2023-08-04 22:07:22 +00:00
|
|
|
, opentelemetry-api
|
2023-07-15 17:15:38 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
buildPythonPackage {
|
2024-04-21 15:54:59 +00:00
|
|
|
inherit (opentelemetry-api) src;
|
2023-07-15 17:15:38 +00:00
|
|
|
pname = "opentelemetry-semantic-conventions";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.44b0";
|
|
|
|
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}/opentelemetry-semantic-conventions";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = [
|
2023-07-15 17:15:38 +00:00
|
|
|
hatchling
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "opentelemetry.semconv" ];
|
|
|
|
|
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/opentelemetry-semantic-conventions";
|
|
|
|
description = "OpenTelemetry Semantic Conventions";
|
|
|
|
};
|
|
|
|
}
|