Files
nixpkgs/pkgs/development/python-modules/harlequin-postgres/default.nix
2025-09-22 22:42:48 +00:00

43 lines
809 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
psycopg,
}:
buildPythonPackage rec {
pname = "harlequin-postgres";
version = "1.2.2";
pyproject = true;
src = fetchPypi {
pname = "harlequin_postgres";
inherit version;
hash = "sha256-u/x8Jx1yfUtFSYX6oyvOZJmdPWbaOkFn3OGQdqxyK8A=";
};
build-system = [
poetry-core
];
dependencies = [
psycopg
psycopg.pool
];
# 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 ];
};
}