Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / dbt-semantic-interfaces / default.nix
blobd63a0cee0447a5593e984f9f06d463057da932f2
1 { lib
2 , buildPythonPackage
3 , click
4 , dateutils
5 , dbt-postgres
6 , fetchFromGitHub
7 , hatchling
8 , pythonRelaxDepsHook
9 , hypothesis
10 , importlib-metadata
11 , jinja2
12 , jsonschema
13 , more-itertools
14 , pydantic
15 , pytestCheckHook
16 , pythonOlder
17 , pyyaml
18 , typing-extensions
21 buildPythonPackage rec {
22   pname = "dbt-semantic-interfaces";
23   version = "0.4.4";
24   pyproject = true;
26   disabled = pythonOlder "3.8";
28   src = fetchFromGitHub {
29     owner = "dbt-labs";
30     repo = "dbt-semantic-interfaces";
31     rev = "refs/tags/v${version}";
32     hash = "sha256-uvwcnOKjwxEmA+/QRGSRofpoE4jZzmE02mGSDLINrJw=";
33   };
35   pythonRelaxDeps = [
36     "importlib-metadata"
37   ];
39   build-system = [
40     hatchling
41     pythonRelaxDepsHook
42   ];
44   dependencies = [
45     click
46     dateutils
47     importlib-metadata
48     jinja2
49     jsonschema
50     more-itertools
51     pydantic
52     pyyaml
53     typing-extensions
54   ];
56   nativeCheckInputs = [
57     pytestCheckHook
58     hypothesis
59   ];
61   pythonImportsCheck = [
62     "dbt_semantic_interfaces"
63   ];
65   meta = with lib; {
66     description = "Shared interfaces used by dbt-core and MetricFlow projects";
67     homepage = "https://github.com/dbt-labs/dbt-semantic-interfaces";
68     changelog = "https://github.com/dbt-labs/dbt-semantic-interfaces/releases/tag/v${version}";
69     license = licenses.asl20;
70     maintainers = with maintainers; [ pbsds ];
71   };