python310Packages.dbt-bigquery: init at 1.5.3
This commit is contained in:
parent
4f37dd2d18
commit
b02c1afb9b
60
pkgs/development/python-modules/dbt-bigquery/default.nix
Normal file
60
pkgs/development/python-modules/dbt-bigquery/default.nix
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, agate
|
||||||
|
, dbt-core
|
||||||
|
, google-cloud-bigquery
|
||||||
|
, google-cloud-storage
|
||||||
|
, google-cloud-dataproc
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonRelaxDepsHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "dbt-bigquery";
|
||||||
|
version = "1.5.3";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dbt-labs";
|
||||||
|
repo = pname;
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-mzqUdT+dI7U0tHHcr0joIB1UCfKXrDdqhtVFShjIKus=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pythonRelaxDepsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
"agate"
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
agate
|
||||||
|
dbt-core
|
||||||
|
google-cloud-bigquery
|
||||||
|
google-cloud-storage
|
||||||
|
google-cloud-dataproc
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
"tests/unit"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"dbt.adapters.bigquery"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Plugin enabling dbt to operate on a BigQuery database";
|
||||||
|
homepage = "https://github.com/dbt-labs/dbt-bigquery";
|
||||||
|
changelog = "https://github.com/dbt-labs/dbt-bigquery/blob/${version}/CHANGELOG.md";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ tjni ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2465,6 +2465,8 @@ self: super: with self; {
|
||||||
|
|
||||||
dbfread = callPackage ../development/python-modules/dbfread { };
|
dbfread = callPackage ../development/python-modules/dbfread { };
|
||||||
|
|
||||||
|
dbt-bigquery = callPackage ../development/python-modules/dbt-bigquery { };
|
||||||
|
|
||||||
dbt-core = callPackage ../development/python-modules/dbt-core { };
|
dbt-core = callPackage ../development/python-modules/dbt-core { };
|
||||||
|
|
||||||
dbt-extractor = callPackage ../development/python-modules/dbt-extractor { };
|
dbt-extractor = callPackage ../development/python-modules/dbt-extractor { };
|
||||||
|
|
Loading…
Reference in a new issue