31 buildPythonPackage rec {
36 disabled = pythonOlder "3.8";
38 src = fetchFromGitHub {
41 # Unfortunatly, upstream doesn't tag commits on GitHub, and the pypi source
42 # doesn't include tests. TODO: Write an update script that will detect the
43 # version from `dbt_common/__about__.py`.
44 rev = "ed11c6ceb4f29d4a79489469309d9ce9dd1757e6";
45 hash = "sha256-JA6hFQwF7h1tXyCxBVKGgyevdTxyYeN3I/Bwy9uoC0Y=";
48 build-system = [ hatchling ];
69 ] ++ mashumaro.optional-dependencies.msgpack;
77 # Assertion errors (TODO: Notify upstream)
78 "test_create_print_json"
80 "test_extra_dict_on_event"
82 pythonImportsCheck = [ "dbt_common" ];
85 description = "Shared common utilities for dbt-core and adapter implementations use";
86 homepage = "https://github.com/dbt-labs/dbt-common";
87 changelog = "https://github.com/dbt-labs/dbt-common/blob/${version}/CHANGELOG.md";
88 license = lib.licenses.asl20;