Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 57 lines 1.2 kB view raw
1{ 2 lib, 3 agate, 4 buildPythonPackage, 5 dbt-common, 6 fetchFromGitHub, 7 hatchling, 8 mashumaro, 9 protobuf, 10 pytestCheckHook, 11 pythonOlder, 12 pytz, 13 typing-extensions, 14}: 15 16buildPythonPackage rec { 17 pname = "dbt-adapters"; 18 version = "1.7.0"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.8"; 22 23 src = fetchFromGitHub { 24 owner = "dbt-labs"; 25 repo = "dbt-adapters"; 26 rev = "refs/tags/v${version}"; 27 hash = "sha256-I3A3rIMpT+MAq+ebid9RMr6I3W1l4ir78UmfeEr5U3U="; 28 }; 29 30 build-system = [ hatchling ]; 31 32 pythonRelaxDeps = [ "protobuf" ]; 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 = "The 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/${src.rev}/CHANGELOG.md"; 54 license = lib.licenses.asl20; 55 maintainers = [ ]; 56 }; 57}