python3Packages.harlequin-postgres: fix build

This commit is contained in:
Sigmanificient
2026-03-23 22:18:59 +01:00
parent 4724d56472
commit 9d497d7c85
@@ -4,6 +4,8 @@
fetchPypi,
hatchling,
psycopg,
duckdb,
pythonAtLeast,
}:
buildPythonPackage rec {
@@ -24,7 +26,8 @@ buildPythonPackage rec {
dependencies = [
psycopg
psycopg.pool
];
]
++ lib.optional (pythonAtLeast "3.14") duckdb;
# To prevent circular dependency
# as harlequin-postgres requires harlequin which requires harlequin-postgres