python3Packages.harlequin-postgres: fix build (#502418)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user