-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathprotocol-buffers.cabal
84 lines (78 loc) · 2.63 KB
/
protocol-buffers.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
name: protocol-buffers
version: 2.0.9
cabal-version: >= 1.6
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: (c) 2008-2011 Christopher Edward Kuklewicz
author: Christopher Edward Kuklewicz
maintainer: Chris Kuklewicz <protobuf@personal.mightyreason.com>
stability: Good
homepage: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/protocol-buffers
package-url: http://code.haskell.org/protocol-buffers/
synopsis: Parse Google Protocol Buffer specifications
description: Parse proto files and generate Haskell code.
category: Text
Tested-With: GHC == 7.4.1
extra-source-files: TODO
README
flag small_base
description: Choose the new smaller, split-up base package.
Library
-- Added -fspec-constr-count=10 to quiet ghc-7.0.2.
ghc-options: -Wall -O2 -fspec-constr-count=10
ghc-prof-options: -auto-all -prof
exposed-modules: Text.ProtocolBuffers
Text.ProtocolBuffers.Basic
Text.ProtocolBuffers.Extensions
Text.ProtocolBuffers.Get
Text.ProtocolBuffers.Header
Text.ProtocolBuffers.Identifiers
Text.ProtocolBuffers.Reflections
Text.ProtocolBuffers.Unknown
Text.ProtocolBuffers.WireMessage
build-depends: array,
binary,
bytestring,
containers,
directory,
filepath,
mtl,
utf8-string
if flag(small_base)
build-depends: base == 4.*, syb
else
build-depends: base == 3.*
-- Most of these are needed for protocol-buffers (Get and WireMessage.hs)
-- Nothing especially hazardous in this list
extensions: BangPatterns,
CPP,
DeriveDataTypeable,
EmptyDataDecls,
FlexibleInstances,
FunctionalDependencies,
GADTs,
GeneralizedNewtypeDeriving,
MagicHash,
MultiParamTypeClasses,
PatternGuards,
RankNTypes,
RecordWildCards
ScopedTypeVariables,
TypeSynonymInstances
-- {-
-- FlexibleContexts,
-- NamedFieldPuns,
-- PatternGuards,
-- BangPatterns
-- CPP
-- DeriveDataTypeable
-- FlexibleInstances
-- FunctionalDependencies
-- GADTs
-- GeneralizedNewtypeDeriving
-- MagicHash
-- MultiParamTypeClasses
-- RankNTypes
-- ScopedTypeVariables
-- TypeSynonymInstances-}