Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 57 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, agate, buildPythonPackage, dbt-core, fetchFromGitHub, google-cloud-bigquery, google-cloud-dataproc, google-cloud-storage, pytestCheckHook, pythonOlder, setuptools, urllib3,}:
buildPythonPackage rec { pname = "dbt-bigquery"; version = "1.8.2"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "dbt-labs"; repo = "dbt-bigquery"; rev = "refs/tags/v${version}"; hash = "sha256-SYQAFvu7nw54X4jxicEA9+lnvMgj/Yp460xz3BFGYCM="; };
pythonRelaxDeps = [ "agate" ];
build-system = [ setuptools ];
dependencies = [ 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 ]; };}