python311Packages.dbt-redshift: refactor

This commit is contained in:
Fabian Affolter 2024-04-02 09:13:26 +02:00 committed by GitHub
parent 43f594a64f
commit d69933e0e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 6 deletions

View File

@ -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