mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 13:08:39 +03:00
databricks-sql-cli: use python3.pkgs
This commit is contained in:
parent
144e7d8859
commit
d51b160067
@ -1,20 +1,10 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonApplication
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
, poetry-core
|
, python3
|
||||||
, pandas
|
|
||||||
, prompt-toolkit
|
|
||||||
, databricks-sql-connector
|
|
||||||
, pygments
|
|
||||||
, configobj
|
|
||||||
, sqlparse
|
|
||||||
, cli-helpers
|
|
||||||
, click
|
|
||||||
, pytestCheckHook
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "databricks-sql-cli";
|
pname = "databricks-sql-cli";
|
||||||
version = "0.1.4";
|
version = "0.1.4";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
@ -37,25 +27,25 @@ buildPythonApplication rec {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace 'python = ">=3.7.1,<4.0"' 'python = ">=3.8,<4.0"' \
|
--replace 'python = ">=3.7.1,<4.0"' 'python = ">=3.8,<4.0"' \
|
||||||
--replace 'pandas = "1.3.4"' 'pandas = "~1.4"'
|
--replace 'pandas = "1.3.4"' 'pandas = "~1.5"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
poetry-core
|
poetry-core
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
prompt-toolkit
|
|
||||||
pandas
|
|
||||||
databricks-sql-connector
|
|
||||||
pygments
|
|
||||||
configobj
|
|
||||||
sqlparse
|
|
||||||
cli-helpers
|
cli-helpers
|
||||||
click
|
click
|
||||||
|
configobj
|
||||||
|
databricks-sql-connector
|
||||||
|
pandas
|
||||||
|
prompt-toolkit
|
||||||
|
pygments
|
||||||
|
sqlparse
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = with python3.pkgs; [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user