hprotoc-fork: Parse Google Protocol Buffer specifications

[ bsd3, library, program, text ] [ Propose Tags ] [ Report a vulnerability ]

Parse language defined at http://code.google.com/apis/protocolbuffers/docs/proto.html and general haskell code to implement messages. This is a fork of the hprotoc library at http://hackage.haskell.org/package/hprotoc


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
small_base

Choose the new smaller, split-up base package.

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 2.0.16, 2.0.16.1
Dependencies array, base (>=3 && <5), binary, bytestring, containers, directory (>=1.0.0.1), filepath (>=1.1.0.0), haskell-src-exts (>=1.15 && <1.16), mtl, parsec, protocol-buffers-descriptor-fork (==2.0.16), protocol-buffers-fork (==2.0.16), utf8-string [details]
Tested with ghc ==7.0.3
License BSD-3-Clause
Copyright (c) 2008-2012 Christopher Edward Kuklewicz
Author Christopher Edward Kuklewicz
Maintainer Stefan Wehr <wehr@cp-med.com>
Category Text
Home page http://darcs.factisresearch.com/pub/protocol-buffers-fork/
Uploaded by StefanWehr at 2014-08-28T17:07:19Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables hprotoc
Downloads 1827 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]

Readme for hprotoc-fork-2.0.16.1

[back to package description]
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.