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