1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, psycopg
6, click
7, configobj
8, sqlparse
9}:
10
11buildPythonPackage rec {
12 pname = "pgspecial";
13 version = "2.1.1";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-o4I5zZYfrDPObaNcRm11istvlCkBWY19905bgv5vVjY=";
18 };
19
20 propagatedBuildInputs = [
21 click
22 sqlparse
23 psycopg
24 ];
25
26 nativeCheckInputs = [
27 configobj
28 pytestCheckHook
29 ];
30
31 disabledTests = [
32 # requires a postgresql server
33 "test_slash_dp_pattern_schema"
34 ];
35
36 meta = with lib; {
37 description = "Meta-commands handler for Postgres Database";
38 homepage = "https://github.com/dbcli/pgspecial";
39 license = licenses.bsd3;
40 maintainers = with maintainers; [ ];
41 };
42}