python310Packages.dbt-postgres: init at 1.5.3

This commit is contained in:
Theodore Ni 2023-07-13 22:02:06 -07:00
parent e45ffebad2
commit 4f37dd2d18
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, agate
, dbt-core
, psycopg2
}:
buildPythonPackage {
pname = "dbt-postgres";
format = "setuptools";
inherit (dbt-core) version src;
sourceRoot = "source/plugins/postgres";
env.DBT_PSYCOPG2_NAME = "psycopg2";
propagatedBuildInputs = [
agate
dbt-core
psycopg2
];
# tests exist for the dbt tool but not for this package specifically
doCheck = false;
pythonImportsCheck = [
"dbt.adapters.postgres"
];
meta = with lib; {
description = "Plugin enabling dbt to work with a Postgres database";
homepage = "https://github.com/dbt-labs/dbt-core";
license = licenses.asl20;
maintainers = with maintainers; [ tjni ];
};
}

View file

@ -2469,6 +2469,8 @@ self: super: with self; {
dbt-extractor = callPackage ../development/python-modules/dbt-extractor { };
dbt-postgres = callPackage ../development/python-modules/dbt-postgres { };
dbus-client-gen = callPackage ../development/python-modules/dbus-client-gen { };
dbus-deviation = callPackage ../development/python-modules/dbus-deviation { };