Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildPythonPackage, fetchPypi, hatchling, psycopg, duckdb, pythonAtLeast,}:
buildPythonPackage rec { pname = "harlequin-postgres"; version = "1.3.1"; pyproject = true;
src = fetchPypi { pname = "harlequin_postgres"; inherit version; hash = "sha256-Jdy3PpfN+xfDvP3DFGQYqY/xHOaPalH7GyUyLqydUiM="; };
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 ]; };}