Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 44 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, dbt-core, fetchFromGitHub, pytestCheckHook, setuptools, snowflake-connector-python,}:
buildPythonPackage rec { pname = "dbt-snowflake"; version = "1.9.1"; pyproject = true;
src = fetchFromGitHub { owner = "dbt-labs"; repo = "dbt-snowflake"; tag = "v${version}"; hash = "sha256-oPzSdAQgb2fKES3YcSGYjILFqixxxjdLCNVytVPecTg="; };
build-system = [ setuptools ];
dependencies = [ dbt-core snowflake-connector-python ] ++ snowflake-connector-python.optional-dependencies.secure-local-storage;
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "tests/unit" ];
pythonImportsCheck = [ "dbt.adapters.snowflake" ];
meta = { 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/${src.tag}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ tjni ]; };}