python311Packages.dbt-redshift: refactor
This commit is contained in:
parent
43f594a64f
commit
d69933e0e0
1 changed files with 12 additions and 6 deletions
|
@ -6,6 +6,7 @@
|
|||
, dbt-postgres
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, redshift-connector
|
||||
, setuptools
|
||||
|
@ -16,6 +17,8 @@ buildPythonPackage rec {
|
|||
version = "1.7.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dbt-labs";
|
||||
repo = "dbt-redshift";
|
||||
|
@ -23,17 +26,20 @@ buildPythonPackage rec {
|
|||
hash = "sha256-wFNPXUU2EuDEiPpEAzjRIRdR27PHLVcOvgQ9E/bpgwM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"boto3"
|
||||
"redshift-connector"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
agate
|
||||
boto3
|
||||
dbt-core
|
||||
|
|
Loading…
Reference in a new issue