1{ 2 lib, 3 agate, 4 buildPythonPackage, 5 dbt-common, 6 dbt-protos, 7 fetchPypi, 8 hatchling, 9 mashumaro, 10 protobuf, 11 pytestCheckHook, 12 pytz, 13 typing-extensions, 14}: 15 16buildPythonPackage rec { 17 pname = "dbt-adapters"; 18 version = "1.16.7"; 19 pyproject = true; 20 21 # missing tags on GitHub 22 src = fetchPypi { 23 pname = "dbt_adapters"; 24 inherit version; 25 hash = "sha256-I3bE6RP0Udp4bO+OXlRdXM2H+TaXvNFJiHIrqgb0i4A="; 26 }; 27 28 build-system = [ hatchling ]; 29 30 pythonRelaxDeps = [ 31 "mashumaro" 32 "protobuf" 33 ]; 34 35 dependencies = [ 36 agate 37 dbt-common 38 dbt-protos 39 mashumaro 40 protobuf 41 pytz 42 typing-extensions 43 ] 44 ++ mashumaro.optional-dependencies.msgpack; 45 46 pythonImportsCheck = [ "dbt.adapters" ]; 47 48 # circular dependencies 49 doCheck = false; 50 51 nativeCheckInputs = [ pytestCheckHook ]; 52 53 meta = { 54 description = "Set of adapter protocols and base functionality that supports integration with dbt-core"; 55 homepage = "https://github.com/dbt-labs/dbt-adapters"; 56 changelog = "https://github.com/dbt-labs/dbt-adapters/blob/main/dbt-adapters/CHANGELOG.md"; 57 license = lib.licenses.asl20; 58 maintainers = [ ]; 59 }; 60}