2024-07-27 06:49:29 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
hatchling,
|
|
|
|
agate,
|
|
|
|
dbt-common,
|
|
|
|
mashumaro,
|
|
|
|
protobuf,
|
|
|
|
pytz,
|
|
|
|
typing-extensions,
|
|
|
|
pytestCheckHook,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dbt-adapters";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "1.6.1";
|
2024-07-27 06:49:29 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dbt-labs";
|
|
|
|
repo = "dbt-adapters";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-i5sGgkFrW/37PH5XnH2bf/bTNgCZwEgNZT9IMbOJwLQ=";
|
2024-07-27 06:49:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
agate
|
|
|
|
dbt-common
|
|
|
|
mashumaro
|
|
|
|
protobuf
|
|
|
|
pytz
|
|
|
|
typing-extensions
|
|
|
|
] ++ mashumaro.optional-dependencies.msgpack;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "dbt.adapters" ];
|
|
|
|
|
|
|
|
# circular dependencies
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The set of adapter protocols and base functionality that supports integration with dbt-core";
|
|
|
|
homepage = "https://github.com/dbt-labs/dbt-adapters";
|
|
|
|
changelog = "https://github.com/dbt-labs/dbt-adapters/blob/${src.rev}/CHANGELOG.md";
|
|
|
|
license = lib.licenses.asl20;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2024-07-27 06:49:29 +00:00
|
|
|
};
|
|
|
|
}
|