1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 protobuf,
7}:
8
9buildPythonPackage rec {
10 pname = "dbt-protos";
11 version = "1.0.380";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "dbt-labs";
16 repo = "proto-python-public";
17 tag = "v${version}";
18 hash = "sha256-gXaIIcxIKnUe4Pz5CidfWtM3iofUizJ+lXWNcTzL2pY=";
19 };
20
21 build-system = [
22 setuptools
23 ];
24
25 dependencies = [
26 protobuf
27 ];
28
29 pythonImportsCheck = [
30 "dbtlabs.proto.public.v1"
31 ];
32
33 meta = {
34 description = "dbt public protos";
35 homepage = "https://github.com/dbt-labs/proto-python-public";
36 license = lib.licenses.asl20;
37 maintainers = with lib.maintainers; [ ];
38 };
39}