blob: 6ce163dd74c4093aa4e2a5693614a7078e3d465d (
plain) (
blame)
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
43
44
45
46
47
48
49
50
51
|
{
lib,
buildPythonPackage,
click,
configobj,
fetchPypi,
psycopg,
pytestCheckHook,
pythonOlder,
setuptools,
sqlparse,
}:
buildPythonPackage rec {
pname = "pgspecial";
version = "2.1.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-8EGeGzt4+zpy/jtUb2eIpxIJFTLVmf51k7X27lWoj4c=";
};
build-system = [ setuptools ];
dependencies = [
click
sqlparse
psycopg
];
nativeCheckInputs = [
configobj
pytestCheckHook
];
disabledTests = [
# Test requires a Postgresql server
"test_slash_dp_pattern_schema"
];
meta = with lib; {
description = "Meta-commands handler for Postgres Database";
homepage = "https://github.com/dbcli/pgspecial";
changelog = "https://github.com/dbcli/pgspecial/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}
|