tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
databricks-sql-cli: use python3.pkgs
Fabian Affolter
2 years ago
d51b1600
144e7d88
+11
-21
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
databricks-sql-cli
default.nix
+11
-21
pkgs/applications/misc/databricks-sql-cli/default.nix
···
1
{ lib
2
-
, buildPythonApplication
3
, fetchFromGitHub
4
, fetchpatch
5
-
, poetry-core
6
-
, pandas
7
-
, prompt-toolkit
8
-
, databricks-sql-connector
9
-
, pygments
10
-
, configobj
11
-
, sqlparse
12
-
, cli-helpers
13
-
, click
14
-
, pytestCheckHook
15
}:
16
17
-
buildPythonApplication rec {
18
pname = "databricks-sql-cli";
19
version = "0.1.4";
20
format = "pyproject";
···
37
postPatch = ''
38
substituteInPlace pyproject.toml \
39
--replace 'python = ">=3.7.1,<4.0"' 'python = ">=3.8,<4.0"' \
40
-
--replace 'pandas = "1.3.4"' 'pandas = "~1.4"'
41
'';
42
43
-
nativeBuildInputs = [
44
poetry-core
45
];
46
47
-
propagatedBuildInputs = [
48
-
prompt-toolkit
49
-
pandas
0
50
databricks-sql-connector
0
0
51
pygments
52
-
configobj
53
sqlparse
54
-
cli-helpers
55
-
click
56
];
57
58
-
nativeCheckInputs = [
59
pytestCheckHook
60
];
61
···
1
{ lib
0
2
, fetchFromGitHub
3
, fetchpatch
4
+
, python3
0
0
0
0
0
0
0
0
0
5
}:
6
7
+
python3.pkgs.buildPythonApplication rec {
8
pname = "databricks-sql-cli";
9
version = "0.1.4";
10
format = "pyproject";
···
27
postPatch = ''
28
substituteInPlace pyproject.toml \
29
--replace 'python = ">=3.7.1,<4.0"' 'python = ">=3.8,<4.0"' \
30
+
--replace 'pandas = "1.3.4"' 'pandas = "~1.5"'
31
'';
32
33
+
nativeBuildInputs = with python3.pkgs; [
34
poetry-core
35
];
36
37
+
propagatedBuildInputs = with python3.pkgs; [
38
+
cli-helpers
39
+
click
40
+
configobj
41
databricks-sql-connector
42
+
pandas
43
+
prompt-toolkit
44
pygments
0
45
sqlparse
0
0
46
];
47
48
+
nativeCheckInputs = with python3.pkgs; [
49
pytestCheckHook
50
];
51