python310Packages.dbt-snowflake: init at 1.5.2
This commit is contained in:
parent
c0310c08d7
commit
859e95e2bd
45
pkgs/development/python-modules/dbt-snowflake/default.nix
Normal file
45
pkgs/development/python-modules/dbt-snowflake/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, dbt-core
|
||||||
|
, pytestCheckHook
|
||||||
|
, snowflake-connector-python
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "dbt-snowflake";
|
||||||
|
version = "1.5.2";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dbt-labs";
|
||||||
|
repo = pname;
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-Oz9BDvxSG4kOteuwKiPccxlsmQtOEwDLVyirDSWy1kY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
dbt-core
|
||||||
|
snowflake-connector-python
|
||||||
|
] ++ snowflake-connector-python.optional-dependencies.secure-local-storage;
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
"tests/unit"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"dbt.adapters.snowflake"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Plugin enabling dbt to work with Snowflake";
|
||||||
|
homepage = "https://github.com/dbt-labs/dbt-snowflake";
|
||||||
|
changelog = "https://github.com/dbt-labs/dbt-snowflake/blob/${version}/CHANGELOG.md";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ tjni ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2475,6 +2475,8 @@ self: super: with self; {
|
||||||
|
|
||||||
dbt-redshift = callPackage ../development/python-modules/dbt-redshift { };
|
dbt-redshift = callPackage ../development/python-modules/dbt-redshift { };
|
||||||
|
|
||||||
|
dbt-snowflake = callPackage ../development/python-modules/dbt-snowflake { };
|
||||||
|
|
||||||
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