Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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.8"; 18 pyproject = true; 19 20 # missing tags on GitHub 21 src = fetchPypi { 22 pname = "dbt_adapters"; 23 inherit version; 24 hash = "sha256-lowoP5Ny5kObKMuscecSUuqQXG7GxEDlbp8HQkLifBc="; 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 ] 42 ++ mashumaro.optional-dependencies.msgpack; 43 44 pythonImportsCheck = [ "dbt.adapters" ]; 45 46 # circular dependencies 47 doCheck = false; 48 49 nativeCheckInputs = [ pytestCheckHook ]; 50 51 meta = { 52 description = "Set of adapter protocols and base functionality that supports integration with dbt-core"; 53 homepage = "https://github.com/dbt-labs/dbt-adapters"; 54 changelog = "https://github.com/dbt-labs/dbt-adapters/blob/main/dbt-adapters/CHANGELOG.md"; 55 license = lib.licenses.asl20; 56 maintainers = [ ]; 57 }; 58}