python3Packages.harlequin-postgres: fix build (#502418)

This commit is contained in:
Michael Daniels
2026-03-24 00:10:01 +00:00
committed by GitHub
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -29,6 +29,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
"questionary"
"rich-click"
"textual"
"tomlkit"
"tree-sitter"
"tree-sitter-sql"
];
@@ -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