Something went wrong. Try again.
lol
Something went wrong. Try again.
441 B · 23 lines
Nix
at master
123456789101112131415161718192021222324{ buildPythonPackage, logfire,
# build system hatchling,}:
buildPythonPackage (finalAttrs: { pname = "logfire-api"; inherit (logfire) version src; pyproject = true;
sourceRoot = "${finalAttrs.src.name}/logfire-api";
build-system = [ hatchling ];
pythonImportsCheck = [ "logfire_api" ];
meta = logfire.meta // { description = "Shim for the Logfire SDK which does nothing unless Logfire is installed"; };})