blob: baa1d0d4b3431b719da814549f0d250abd99b269 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
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 ];
};
}
|