View on GitHub


API for protocol buffers using modern Haskell language and library patterns.

Installing protoc

In order to build Haskell packages with proto-lens, the Google protobuf compiler (which is a standalone binary named protoc) needs to be installed somewhere on your $PATH. You can get it by downloading the corresponding file for your system from (The corresponding file will be named something like protoc-*

Here are some OS-specific options for installing the binary:

Mac OS X