@hackage / hprotoc-fork

Parse Google Protocol Buffer specifications

Latest2.0.16.1

About

Metadata

  • Last updated , by StefanWehr
  • License BSD-3-Clause
  • Categories Text Processing
  • Maintained by: Stefan Wehr <wehr@cp-med.com>

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    small_base (on by default)

    Choose the new smaller, split-up base package.

Readme

To regenerate the plugin haskell files, please run

hprotoc -u --prefix=Text -d protoc-gen-haskell -I google-proto-files/ google/protobuf/plugin.proto

This was last populated from version 2.4.0a of Google's code.

Also, one can invoke cabal build to make dist/autogen and then

ghci -package parsec-2.1.0.1 -idist/build/autogen -iprotoc-gen-haskell Text/ProtocolBuffers/ProtoCompile.hs

should work.