Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 58 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, agate, boto3, buildPythonPackage, dbt-core, dbt-postgres, fetchFromGitHub, pytestCheckHook, pythonOlder, redshift-connector, setuptools,}:
buildPythonPackage rec { pname = "dbt-redshift"; version = "1.8.1"; pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub { owner = "dbt-labs"; repo = "dbt-redshift"; rev = "refs/tags/v${version}"; hash = "sha256-SmFN1GXX14L+3jtAo5Vqm53HLRaear2U/KI2Afx0ztU="; };
pythonRelaxDeps = [ "boto3" "redshift-connector" ];
build-system = [ setuptools ];
dependencies = [ agate boto3 dbt-core dbt-postgres redshift-connector ];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "tests/unit" ];
pythonImportsCheck = [ "dbt.adapters.redshift" ];
meta = with lib; { description = "Plugin enabling dbt to work with Amazon Redshift"; homepage = "https://github.com/dbt-labs/dbt-redshift"; changelog = "https://github.com/dbt-labs/dbt-redshift/blob/${version}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ tjni ]; };}