forked from tclem/twirp-haskell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
twirp.cabal
74 lines (67 loc) · 2.23 KB
/
twirp.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
cabal-version: 2.4
name: twirp
version: 0.2.0.0
synopsis: Haskell twirp foundations
description: Please see the README on GitHub at <https://github.com/tclem/twirp-haskell#readme>
homepage: https://github.com/tclem/twirp-haskell#readme
bug-reports: https://github.com/tclem/twirp-haskell/issues
license: BSD-3-Clause
license-file: LICENSE
author: Timothy Clem
maintainer: [email protected]
copyright: 2019 Timothy Clem
category: Web
build-type: Simple
extra-source-files: README.md
tested-with: GHC == 8.6.5
-- GHC extensions shared between targets
common haskell
default-language: Haskell2010
default-extensions: DataKinds
, DeriveFoldable
, DeriveFunctor
, DeriveGeneric
, DeriveTraversable
, FlexibleContexts
, FlexibleInstances
, MultiParamTypeClasses
, OverloadedStrings
, RecordWildCards
, StandaloneDeriving
, StrictData
, TypeApplications
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
common dependencies
build-depends:
base >=4.7 && <5
, aeson ^>= 1.4.5.0
, bytestring >= 0.10.8
, http-media >= 0.8.0.0
, http-types >= 0.12.3
, proto-lens >= 0.5.0.0
, proto-lens-jsonpb >= 0.2.0.0
, proto-lens-runtime >= 0.5 && <0.7
, servant ^>= 0.16.2
, text ^>= 1.2.4.0
, wai ^>= 3.2.2.1
library
import: haskell, dependencies
exposed-modules:
Twirp
Twirp.Middleware.Errors
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
build-depends:
test-suite twirp-test
import: haskell, dependencies
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs:
test
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
twirp
source-repository head
type: git
location: https://github.com/tclem/twirp-haskell