packages feed

hprotoc-1.2.1: hprotoc.cabal

name:           hprotoc
-- Synchronize this version number with Text.ProtocolBuffers.ProtocolCompile.version
version:        1.2.1
cabal-version:  >= 1.2
build-type:     Simple
license:        BSD3
license-file:   LICENSE
copyright:      (c) 2008 Christopher Edward Kuklewicz
author:         Christopher Edward Kuklewicz
maintainer:     Chris Kuklewicz <protobuf@personal.mightyreason.com>
stability:      Experimental
homepage:       http://hackage.haskell.org/cgi-bin/hackage-scripts/package/protocol-buffers
package-url:    http://darcs.haskell.org/packages/protocol-buffers2/
synopsis:       Parse Google Protocol Buffer specifications
description:    Parse http://code.google.com/apis/protocolbuffers/docs/proto.html
  and perhaps general haskell code to use them
category:       Text
Tested-With:    GHC ==6.8.3
extra-source-files:

flag small_base
    description: Choose the new smaller, split-up base package.

Executable hprotoc
  Main-Is:         Text/ProtocolBuffers/ProtoCompile.hs
  build-tools:     alex
  ghc-options:     -Wall
  build-depends:   protocol-buffers == 1.2.1, protocol-buffers-descriptor == 1.2.1
  build-depends:   binary, utf8-string
  build-depends:   parsec, haskell-src,
                   containers,bytestring,array,filepath,directory,mtl,QuickCheck

  if flag(small_base)
        build-depends: base == 4.*
  else
        build-depends: base == 3.*

  other-modules:   Text.ProtocolBuffers.ProtoCompile.Gen
                   Text.ProtocolBuffers.ProtoCompile.Instances
                   Text.ProtocolBuffers.ProtoCompile.Lexer
                   Text.ProtocolBuffers.ProtoCompile.MakeReflections
                   Text.ProtocolBuffers.ProtoCompile.Parser
                   Text.ProtocolBuffers.ProtoCompile.Resolve
  extensions:      DeriveDataTypeable,
                   EmptyDataDecls,
                   FlexibleContexts 
                   FlexibleInstances,
                   FunctionalDependencies,
                   GADTs,
                   GeneralizedNewtypeDeriving,
                   MagicHash,
                   MultiParamTypeClasses,
                   PatternGuards,
                   RankNTypes,
                   RecursiveDo,
                   ScopedTypeVariables,
                   TypeSynonymInstances
--                   PatternSignatures