tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.pgspecial: refactor
Fabian Affolter
2 years ago
a511a273
2ce3adff
+15
-6
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
pgspecial
default.nix
+15
-6
pkgs/development/python-modules/pgspecial/default.nix
···
1
1
{ lib
2
2
, buildPythonPackage
3
3
+
, click
4
4
+
, configobj
3
5
, fetchPypi
4
4
-
, pytestCheckHook
5
6
, psycopg
6
6
-
, click
7
7
-
, configobj
7
7
+
, pytestCheckHook
8
8
+
, pythonOlder
9
9
+
, setuptools
8
10
, sqlparse
9
11
}:
10
12
11
13
buildPythonPackage rec {
12
14
pname = "pgspecial";
13
15
version = "2.1.2";
14
14
-
format = "setuptools";
16
16
+
pyproject = true;
17
17
+
18
18
+
disabled = pythonOlder "3.7";
15
19
16
20
src = fetchPypi {
17
21
inherit pname version;
18
22
hash = "sha256-8EGeGzt4+zpy/jtUb2eIpxIJFTLVmf51k7X27lWoj4c=";
19
23
};
20
24
21
21
-
propagatedBuildInputs = [
25
25
+
build-system = [
26
26
+
setuptools
27
27
+
];
28
28
+
29
29
+
dependencies = [
22
30
click
23
31
sqlparse
24
32
psycopg
···
30
38
];
31
39
32
40
disabledTests = [
33
33
-
# requires a postgresql server
41
41
+
# Test requires a Postgresql server
34
42
"test_slash_dp_pattern_schema"
35
43
];
36
44
37
45
meta = with lib; {
38
46
description = "Meta-commands handler for Postgres Database";
39
47
homepage = "https://github.com/dbcli/pgspecial";
48
48
+
changelog = "https://github.com/dbcli/pgspecial/releases/tag/v${version}";
40
49
license = licenses.bsd3;
41
50
maintainers = with maintainers; [ ];
42
51
};