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