mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.opentelemetry-instrumentation-psycopg: init at 0.63b1
This commit is contained in:
parent
7085145e08
commit
c85b1949aa
2 changed files with 43 additions and 0 deletions
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
buildPythonPackage,
|
||||
pytestCheckHook,
|
||||
hatchling,
|
||||
opentelemetry-api,
|
||||
opentelemetry-instrumentation,
|
||||
opentelemetry-instrumentation-dbapi,
|
||||
opentelemetry-test-utils,
|
||||
psycopg,
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
inherit (opentelemetry-instrumentation) version src;
|
||||
pname = "opentelemetry-instrumentation-psycopg";
|
||||
pyproject = true;
|
||||
|
||||
sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-psycopg";
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
psycopg
|
||||
opentelemetry-api
|
||||
opentelemetry-instrumentation
|
||||
opentelemetry-instrumentation-dbapi
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
opentelemetry-test-utils
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.instrumentation.psycopg" ];
|
||||
|
||||
meta = opentelemetry-instrumentation.meta // {
|
||||
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-psycopg";
|
||||
description = "OpenTelemetry Psycopg Instrumentation";
|
||||
};
|
||||
}
|
||||
|
|
@ -11953,6 +11953,10 @@ self: super: with self; {
|
|||
callPackage ../development/python-modules/opentelemetry-instrumentation-logging
|
||||
{ };
|
||||
|
||||
opentelemetry-instrumentation-psycopg =
|
||||
callPackage ../development/python-modules/opentelemetry-instrumentation-psycopg
|
||||
{ };
|
||||
|
||||
opentelemetry-instrumentation-psycopg2 =
|
||||
callPackage ../development/python-modules/opentelemetry-instrumentation-psycopg2
|
||||
{ };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue