7 opentelemetry-test-utils,
14 buildPythonPackage rec {
15 pname = "opentelemetry-instrumentation";
19 disabled = pythonOlder "3.8";
21 # To avoid breakage, every package in opentelemetry-python-contrib must inherit this version, src, and meta
22 src = fetchFromGitHub {
23 owner = "open-telemetry";
24 repo = "opentelemetry-python-contrib";
25 rev = "refs/tags/v${version}";
26 hash = "sha256-RsOOCDbxT0e0WGfI8Ibv6E51ei+sTg07F8d+30+JrVU=";
29 sourceRoot = "${src.name}/opentelemetry-instrumentation";
31 build-system = [ hatchling ];
40 opentelemetry-test-utils
44 pythonImportsCheck = [ "opentelemetry.instrumentation" ];
46 passthru.updateScript = opentelemetry-api.updateScript;
49 description = "Instrumentation Tools & Auto Instrumentation for OpenTelemetry Python";
50 homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/opentelemetry-instrumentation";
51 changelog = "https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/${lib.removePrefix "refs/tags/" src.rev}";
52 license = licenses.asl20;
53 maintainers = teams.deshaw.members ++ [ maintainers.natsukium ];