# Rebase of the OpenSUSE patch: https://build.opensuse.org/projects/openSUSE:Factory/packages/pybind11_protobuf/files/0006-Add-install-target-for-CMake-builds.patch?expand=1
# on top of: https://github.com/pybind/pybind11_protobuf/pull/188/commits/5f0ac3d8c10cbb8b3b81063467c71085cd39624f
./add-install-target-for-cmake-builds.patch
];
nativeBuildInputs=[cmake];
buildInputs=[
abseil-cpp_202301
protobuf_23
abseil-cpp
protobuf
pybind11
zlib
];
cmakeFlags=
[
(lib.cmakeBool"USE_SYSTEM_ABSEIL"true)
(lib.cmakeBool"USE_SYSTEM_PROTOBUF"true)
(lib.cmakeBool"USE_SYSTEM_PYBIND"true)
# The find_package calls are local to the dependencies subdirectory