/
apigen.cabal
92 lines (85 loc) · 2.18 KB
/
apigen.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
name: apigen
version: 0.0.2
synopsis: FFI API generator for several languages
description: Supports a specific way of defining C APIs and generates bindings for various languages for them.
homepage: https://toktok.github.io/apigen
license: GPL-3
license-file: LICENSE
author: iphydf
maintainer: iphydf@users.noreply.github.com
category: Development
build-type: Simple
cabal-version: >=1.10
source-repository head
type: git
location: https://github.com/TokTok/apigen
library
default-language: Haskell2010
exposed-modules:
Apigen.Language.Apidsl
Apigen.Language.Haskell
Apigen.Language.PyDsl
Apigen.Parser
Apigen.Parser.InferClasses
Apigen.Parser.InferGenerated
Apigen.Parser.InferNamespace
Apigen.Parser.InferProperties
Apigen.Parser.InferSections
Apigen.Parser.InferSizedGet
Apigen.Parser.InferSizedParam
Apigen.Parser.Query
Apigen.Parser.SymbolNumbers
Apigen.Parser.SymbolTable
Apigen.Patterns
Apigen.Types
ghc-options: -Wall
hs-source-dirs: src
build-depends:
base >=4 && <5
, aeson
, ansi-wl-pprint
, casing <0.2
, cimple >=0.0.19
, data-fix <0.4
, extra
, insert-ordered-containers
, mtl <3
, text <3
, unordered-containers
executable apigen
default-language: Haskell2010
hs-source-dirs: tools
ghc-options: -Wall
main-is: apigen.hs
build-depends:
base <5
, apigen
, cimple
, text
executable dump-model
default-language: Haskell2010
hs-source-dirs: tools
ghc-options: -Wall
main-is: dump-model.hs
build-depends:
base <5
, aeson
, apigen
, bytestring
, cimple
, text
test-suite testsuite
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: test
main-is: testsuite.hs
other-modules:
Apigen.Language.HaskellSpec
ghc-options: -Wall -Wno-unused-imports
build-tool-depends: hspec-discover:hspec-discover
build-depends:
base <5
, apigen
, cimple
, hspec <3
, text