python310Packages.dbt-postgres: init at 1.5.3
This commit is contained in:
parent
e45ffebad2
commit
4f37dd2d18
37
pkgs/development/python-modules/dbt-postgres/default.nix
Normal file
37
pkgs/development/python-modules/dbt-postgres/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2469,6 +2469,8 @@ self: super: with self; {
|
||||||
|
|
||||||
dbt-extractor = callPackage ../development/python-modules/dbt-extractor { };
|
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-client-gen = callPackage ../development/python-modules/dbus-client-gen { };
|
||||||
|
|
||||||
dbus-deviation = callPackage ../development/python-modules/dbus-deviation { };
|
dbus-deviation = callPackage ../development/python-modules/dbus-deviation { };
|
||||||
|
|
Loading…
Reference in a new issue