Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ buildPythonPackage, hatchling, opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, wrapt, redis, opentelemetry-test-utils, pythonOlder, pytestCheckHook, fakeredis,}:
buildPythonPackage { inherit (opentelemetry-instrumentation) version src; pname = "opentelemetry-instrumentation-redis"; pyproject = true;
disabled = pythonOlder "3.8";
sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-redis";
build-system = [ hatchling ];
dependencies = [ opentelemetry-api opentelemetry-instrumentation opentelemetry-semantic-conventions wrapt ];
nativeCheckInputs = [ fakeredis opentelemetry-test-utils pytestCheckHook ];
optional-dependencies = { instruments = [ redis ]; };
pythonImportsCheck = [ "opentelemetry.instrumentation.redis" ];
meta = opentelemetry-instrumentation.meta // { homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-redis"; description = "Redis instrumentation for OpenTelemetry"; };}