View on GitHub

proto-lens

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 https://github.com/google/protobuf/releases. (The corresponding file will be named something like protoc-*-.zip.)

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

Mac OS X

Linux