f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
52 lines
1.1 KiB
Nix
52 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
agate,
|
|
dbt-common,
|
|
mashumaro,
|
|
protobuf,
|
|
pytz,
|
|
typing-extensions,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dbt-adapters";
|
|
version = "1.3.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dbt-labs";
|
|
repo = "dbt-adapters";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-M7n+WcHGBMNZ5k9GZRR05g8KzPDWjmB83iZSD16G774=";
|
|
};
|
|
|
|
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;
|
|
maintainers = with lib.maintainers; [ ];
|
|
};
|
|
}
|