-
Notifications
You must be signed in to change notification settings - Fork 34
/
thrift-compiler.cabal
143 lines (134 loc) · 4.07 KB
/
thrift-compiler.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
cabal-version: 3.6
-- Copyright (c) Facebook, Inc. and its affiliates.
name: thrift-compiler
version: 0.1.0.0
synopsis: A compiler from the Thrift Interface Definition Language (IDL) to Haskell
homepage: https://github.com/facebookincubator/hsthrift
bug-reports: https://github.com/facebookincubator/hsthrift/issues
license: BSD-3-Clause
license-file: LICENSE
author: Facebook, Inc.
maintainer: hsthrift-team@fb.com
copyright: (c) Facebook, All Rights Reserved
category: Thrift
build-type: Simple
extra-source-files: CHANGELOG.md,
test/fixtures/**/*.ast,
test/fixtures/gen-hs2/**/*.hs,
test/if/*.thrift,
tests/if/*.thrift,
tests/if/*.hs
description:
A compiler from the Thrift Interface Definition Language (IDL) to Haskell.
.
NOTE: for build instructions and documentation, see
https://github.com/facebookincubator/hsthrift
source-repository head
type: git
location: https://github.com/facebookincubator/hsthrift.git
common fb-haskell
default-language: Haskell2010
default-extensions:
BangPatterns
BinaryLiterals
DataKinds
DeriveDataTypeable
DeriveGeneric
EmptyCase
ExistentialQuantification
FlexibleContexts
FlexibleInstances
GADTs
GeneralizedNewtypeDeriving
LambdaCase
MultiParamTypeClasses
MultiWayIf
NoMonomorphismRestriction
OverloadedStrings
PatternSynonyms
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeFamilies
TypeSynonymInstances
NondecreasingIndentation
library
import: fb-haskell
hs-source-dirs: . plugins
exposed-modules:
Thrift.Compiler
Thrift.Compiler.GenClient
Thrift.Compiler.GenConst
Thrift.Compiler.GenEnum
Thrift.Compiler.GenFunction
Thrift.Compiler.GenHaskell
Thrift.Compiler.GenJSON
Thrift.Compiler.GenJSONLoc
Thrift.Compiler.GenService
Thrift.Compiler.GenStruct
Thrift.Compiler.GenTypedef
Thrift.Compiler.GenUnion
Thrift.Compiler.GenUtils
Thrift.Compiler.OptParse
Thrift.Compiler.Options
Thrift.Compiler.Lexer
Thrift.Compiler.Parser
Thrift.Compiler.Plugin
Thrift.Compiler.Pretty
Thrift.Compiler.Typechecker
Thrift.Compiler.Typechecker.Monad
Thrift.Compiler.Types
Thrift.Compiler.Plugins.Haskell
Thrift.Compiler.Plugins.Linter
build-depends:
fb-util,
aeson,
aeson-pretty,
array,
extra,
some,
haskell-src-exts >=1.20.3 && <1.24,
either,
optparse-applicative,
haskell-names,
text-show,
base >=4.11.1 && <4.17,
async ^>=2.2.1,
filepath ^>=1.4.2,
containers >=0.5.11 && <0.7,
text ^>=1.2.3.0,
transformers ^>=0.5.5.0,
bytestring >=0.10.8.2 && <0.12,
unordered-containers ^>=0.2.9.0,
directory ^>=1.3.1.5,
pretty ^>=1.1.3.6,
mtl
build-tool-depends: alex:alex, happy:happy
executable thrift-compiler
import: fb-haskell
hs-source-dirs: main
main-is: Main.hs
build-depends: base, optparse-applicative, thrift-compiler
test-suite thrift-compiler-tests
import: fb-haskell
type: exitcode-stdio-1.0
hs-source-dirs: test, test/github
main-is: TestFixtures.hs
ghc-options: -threaded -main-is TestFixtures
other-modules: Util
build-depends: aeson-pretty,
base,
directory,
extra,
filepath,
fb-stubs,
haskell-src-exts >=1.20.3 && <1.24,
hspec,
hspec-contrib,
HUnit ^>= 1.6.1,
process,
temporary,
text,
thrift-compiler