python311Packages.dbt-semantic-interfaces: init at 0.2.2
dbt-semantic-interfaces is required by dbt-core
This commit is contained in:
parent
0bf3f5cf6a
commit
24268979b9
2 changed files with 64 additions and 0 deletions
|
@ -0,0 +1,62 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, click
|
||||
, dateutils
|
||||
, hatchling
|
||||
, importlib-metadata
|
||||
, jinja2
|
||||
, jsonschema
|
||||
, more-itertools
|
||||
, pydantic
|
||||
, pyyaml
|
||||
, typing-extensions
|
||||
, hypothesis
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dbt-semantic-interfaces";
|
||||
version = "0.2.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dbt-labs";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-pnhmfj349uMjSsmdr53dY1Xur6huRKHiXWI7DXYK1gE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
dateutils
|
||||
importlib-metadata
|
||||
jinja2
|
||||
jsonschema
|
||||
more-itertools
|
||||
pydantic
|
||||
pyyaml
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
hypothesis
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dbt_semantic_interfaces"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/dbt-labs/dbt-semantic-interfaces/releases/tag/v${version}";
|
||||
description = "shared interfaces used by dbt-core and MetricFlow projects";
|
||||
homepage = "https://github.com/dbt-labs/dbt-semantic-interfaces";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ pbsds ];
|
||||
};
|
||||
}
|
|
@ -2632,6 +2632,8 @@ self: super: with self; {
|
|||
|
||||
dbt-redshift = callPackage ../development/python-modules/dbt-redshift { };
|
||||
|
||||
dbt-semantic-interfaces = callPackage ../development/python-modules/dbt-semantic-interfaces { };
|
||||
|
||||
dbt-snowflake = callPackage ../development/python-modules/dbt-snowflake { };
|
||||
|
||||
dbus-client-gen = callPackage ../development/python-modules/dbus-client-gen { };
|
||||
|
|
Loading…
Reference in a new issue