dbt-nix/nix/dbt-redshift/default.nix

27 lines
586 B
Nix
Raw Permalink Normal View History

2022-07-13 10:42:07 -04:00
{pkgs, dbt-core, dbt-postgres, version}:
2022-04-05 11:59:17 -04:00
with pkgs;
with python39Packages;
let inputs = [
dbt-core
boto3
typing-extensions
jinja2
dbt-postgres
# we needed to override the test phase so
# we have to include it from the overlay here.
s3transfer
2022-04-05 11:59:17 -04:00
#jinja2_3
];
in
buildPythonPackage rec {
pname = "dbt-redshift";
2022-07-13 10:42:07 -04:00
inherit version;
2022-04-05 11:59:17 -04:00
buildInputs = inputs;
propagatedBuildInputs = inputs;
doCheck = false;
src = fetchPypi {
inherit pname version;
2022-07-13 10:42:07 -04:00
sha256 = "sha256-CNkCORCVdAtE14CxKGpheXkOq4QyTq/huR0IWQzHWmI=";
2022-04-05 11:59:17 -04:00
};
2022-07-13 10:42:07 -04:00
}