40 lines
673 B
Nix
40 lines
673 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
protobuf,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dbt-protos";
|
|
version = "1.0.380";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dbt-labs";
|
|
repo = "proto-python-public";
|
|
tag = "v${version}";
|
|
hash = "sha256-gXaIIcxIKnUe4Pz5CidfWtM3iofUizJ+lXWNcTzL2pY=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = [
|
|
protobuf
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"dbtlabs.proto.public.v1"
|
|
];
|
|
|
|
meta = {
|
|
description = "dbt public protos";
|
|
homepage = "https://github.com/dbt-labs/proto-python-public";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|