Files
nixpkgs/pkgs/development/python-modules/dbt-core/default.nix
T
Martin Weinelt 037c014c95 python3Packages.dbt-core: 1.10.15 -> 1.11.2
https://github.com/dbt-labs/dbt-core/blob/v1.11.2/CHANGELOG.md

This commit was automatically generated using update-python-libraries.
2026-02-01 16:42:52 +01:00

132 lines
2.3 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatchling,
# dependencies
agate,
click,
daff,
dbt-adapters,
dbt-common,
dbt-extractor,
dbt-protos,
dbt-semantic-interfaces,
jinja2,
logbook,
mashumaro,
networkx,
packaging,
pathspec,
protobuf,
pydantic,
pydantic-settings,
pytz,
pyyaml,
requests,
snowplow-tracker,
sqlparse,
typing-extensions,
# passthru
callPackage,
}:
buildPythonPackage rec {
pname = "dbt-core";
version = "1.11.2";
pyproject = true;
src = fetchFromGitHub {
owner = "dbt-labs";
repo = "dbt-core";
tag = "v${version}";
hash = "sha256-+7q332Te3R6g8HvT1Gwa7vHo8OBmT0/E/CzunBYIvZk=";
};
sourceRoot = "${src.name}/core";
pythonRelaxDeps = [
"agate"
"click"
"dbt-common"
"dbt-semantic-interfaces"
"logbook"
"mashumaro"
"networkx"
"pathspec"
"protobuf"
"pydantic"
"sqlparse"
"urllib3"
];
build-system = [
hatchling
];
dependencies = [
agate
click
daff
dbt-adapters
dbt-common
dbt-extractor
dbt-protos
dbt-semantic-interfaces
jinja2
logbook
mashumaro
networkx
packaging
pathspec
protobuf
pydantic
pydantic-settings
pytz
pyyaml
requests
snowplow-tracker
sqlparse
typing-extensions
]
++ mashumaro.optional-dependencies.msgpack;
# tests exist for the dbt tool but not for this package specifically
doCheck = false;
passthru = {
withAdapters = callPackage ./with-adapters.nix { };
};
meta = {
description = "Enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications";
longDescription = ''
The dbt tool needs adapters to data sources in order to work. The available
adapters are:
dbt-bigquery
dbt-postgres
dbt-redshift
dbt-snowflake
An example of building this package with a few adapters:
dbt.withAdapters (adapters: [
adapters.dbt-bigquery
adapters.dbt-postgres
])
'';
homepage = "https://github.com/dbt-labs/dbt-core";
changelog = "https://github.com/dbt-labs/dbt-core/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
mausch
];
mainProgram = "dbt";
};
}