python312Packages.dbt-common: init at 1.3.0

This commit is contained in:
natsukium
2024-07-06 00:44:20 +09:00
parent 4c68f78279
commit ac4409aee6
2 changed files with 67 additions and 0 deletions
@@ -0,0 +1,65 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
agate,
colorama,
isodate,
jinja2,
jsonschema,
mashumaro,
pathspec,
protobuf,
python-dateutil,
requests,
typing-extensions,
pytest-mock,
pytest-xdist,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "dbt-common";
version = "1.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "dbt-labs";
repo = "dbt-common";
rev = "refs/tags/v${version}";
hash = "sha256-3UjwQy257ks21fQV0uZNKu5EsuzjlIAEcVtRWkR9x/4=";
};
build-system = [ hatchling ];
dependencies = [
agate
colorama
isodate
jinja2
jsonschema
mashumaro
pathspec
protobuf
python-dateutil
requests
typing-extensions
] ++ mashumaro.optional-dependencies.msgpack;
pythonImportsCheck = [ "dbt_common" ];
nativeCheckInputs = [
pytest-mock
pytest-xdist
pytestCheckHook
];
meta = {
description = "Shared common utilities for dbt-core and adapter implementations use";
homepage = "https://github.com/dbt-labs/dbt-common";
changelog = "https://github.com/dbt-labs/dbt-common/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ];
};
}
+2
View File
@@ -2867,6 +2867,8 @@ self: super: with self; {
dbt-bigquery = callPackage ../development/python-modules/dbt-bigquery { };
dbt-common = callPackage ../development/python-modules/dbt-common { };
dbt-core = callPackage ../development/python-modules/dbt-core { };
dbt-extractor = callPackage ../development/python-modules/dbt-extractor { };