Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 58 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, buildPythonPackage, hatchling, opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, botocore, moto, opentelemetry-test-utils, opentelemetry-propagator-aws-xray, pytest-vcr, pytestCheckHook, aws-xray-sdk,}:
buildPythonPackage { inherit (opentelemetry-instrumentation) version src; pname = "opentelemetry-instrumentation-botocore"; pyproject = true;
sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-botocore";
build-system = [ hatchling ];
dependencies = [ opentelemetry-api opentelemetry-instrumentation opentelemetry-propagator-aws-xray opentelemetry-semantic-conventions ];
nativeCheckInputs = [ opentelemetry-test-utils pytest-vcr pytestCheckHook ];
checkInputs = [ aws-xray-sdk moto ];
optional-dependencies = { instruments = [ botocore ]; };
pythonImportsCheck = [ "opentelemetry.instrumentation.botocore" ];
disabledTests = [ "test_scan" ];
meta = opentelemetry-instrumentation.meta // { homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-botocore"; description = "Botocore instrumentation for OpenTelemetry"; };}