Something went wrong. Try again.
lol
Something went wrong. Try again.
893 B · 47 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, agate, buildPythonPackage, fetchFromGitHub, dbt-adapters, dbt-common, dbt-core, hatchling, psycopg2,}:
buildPythonPackage rec { pname = "dbt-postgres"; version = "1.9.0"; pyproject = true;
src = fetchFromGitHub { owner = "dbt-labs"; repo = "dbt-postgres"; tag = "v${version}"; hash = "sha256-lywWf78rluX17D5bcfehHd7X18tAdw3HZ65v440jETc="; };
build-system = [ hatchling ];
pythonRemoveDeps = [ "psycopg2-binary" ];
dependencies = [ agate dbt-adapters dbt-common dbt-core psycopg2 ];
# tests exist for the dbt tool but not for this package specifically doCheck = false;
pythonImportsCheck = [ "dbt.adapters.postgres" ];
meta = { description = "Plugin enabling dbt to work with a Postgres database"; homepage = "https://github.com/dbt-labs/dbt-core"; license = lib.licenses.asl20; };}