Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 57 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, agate, boto3, buildPythonPackage, dbt-core, dbt-postgres, fetchFromGitHub, pytestCheckHook, pythonOlder, redshift-connector, setuptools,}:
buildPythonPackage rec { pname = "dbt-redshift"; version = "1.9.0"; pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub { owner = "dbt-labs"; repo = "dbt-redshift"; tag = "v${version}"; hash = "sha256-ayt5KRH3jAoi7k+0yfk1ZSqG4qsM+zny8tDnWOWO5oA="; };
pythonRelaxDeps = [ "boto3" "redshift-connector" ];
build-system = [ setuptools ];
dependencies = [ agate boto3 dbt-core dbt-postgres redshift-connector ];
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "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 ]; };}