Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 56 lines 1.2 kB view raw
1{ 2 lib, 3 agate, 4 buildPythonPackage, 5 dbt-core, 6 fetchFromGitHub, 7 google-cloud-bigquery, 8 google-cloud-dataproc, 9 google-cloud-storage, 10 pytestCheckHook, 11 pythonOlder, 12 setuptools, 13}: 14 15buildPythonPackage rec { 16 pname = "dbt-bigquery"; 17 version = "1.8.3"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchFromGitHub { 23 owner = "dbt-labs"; 24 repo = "dbt-bigquery"; 25 rev = "refs/tags/v${version}"; 26 hash = "sha256-PlYQo4jqCQiHmlPB4aEhecZs3U6miDjhGR7Qct9IPbM="; 27 }; 28 29 pythonRelaxDeps = [ "agate" ]; 30 31 build-system = [ 32 setuptools 33 ]; 34 35 dependencies = [ 36 agate 37 dbt-core 38 google-cloud-bigquery 39 google-cloud-storage 40 google-cloud-dataproc 41 ]; 42 43 nativeCheckInputs = [ pytestCheckHook ]; 44 45 pytestFlagsArray = [ "tests/unit" ]; 46 47 pythonImportsCheck = [ "dbt.adapters.bigquery" ]; 48 49 meta = with lib; { 50 description = "Plugin enabling dbt to operate on a BigQuery database"; 51 homepage = "https://github.com/dbt-labs/dbt-bigquery"; 52 changelog = "https://github.com/dbt-labs/dbt-bigquery/blob/${version}/CHANGELOG.md"; 53 license = licenses.asl20; 54 maintainers = with maintainers; [ tjni ]; 55 }; 56}