Something went wrong. Try again.
lol
Something went wrong. Try again.
880 B · 45 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildPythonPackage, fetchPypi, hatchling, psycopg, duckdb, pythonAtLeast,}:
buildPythonPackage rec { pname = "harlequin-postgres"; version = "1.3.0"; pyproject = true;
src = fetchPypi { pname = "harlequin_postgres"; inherit version; hash = "sha256-01MllGk8dFeWtbpENCGGYs4/nlq7aLLkFZqCXGLrN4s="; };
build-system = [ hatchling ];
dependencies = [ psycopg psycopg.pool ] ++ lib.optional (pythonAtLeast "3.14") duckdb;
# To prevent circular dependency # as harlequin-postgres requires harlequin which requires harlequin-postgres doCheck = false; pythonRemoveDeps = [ "harlequin" ];
meta = { description = "Harlequin adapter for Postgres"; homepage = "https://pypi.org/project/harlequin-postgres/"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ pcboy ]; };}