-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathchakra.cabal
166 lines (159 loc) · 4.23 KB
/
chakra.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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack
--
-- hash: 5aeb97e416137f55b01ac39fe385506fd11c31d0e6d13907859c083a44c85279
name: chakra
version: 0.1.2
synopsis: A REST Web Api server template for building (micro)services.
description: A REST Web Api server template, that serves as a reference
and avoids repetive boilerplate when building many (micro)services.
This combines best libraries available in Haskell web development, like RIO, warp, servant, etc.,
and principles around 12-factor app.
.
Check @'Chakra'@ module documentation for example.
.
Idea is to provide Curated & Opinionated set of packages and
patterns to build well designed web api applications in Haskell.
.
Inspiration from Python Flask, ASP.NET Core
.
For more details, please see the README on Github at <https://github.com/cackharot/haskell-web-api-template#readme>
category: Web
homepage: https://github.com/cackharot/haskell-web-api-template#readme
bug-reports: https://github.com/cackharot/haskell-web-api-template/issues
author: Cackharot
maintainer: [email protected]
copyright: 2020 Cackharot
license: MIT
license-file: LICENSE
tested-with:
GHC==8.8.4 || ==8.10.7 || ==9.0.1
build-type: Simple
extra-source-files:
README.md
source-repository head
type: git
location: https://github.com/cackharot/haskell-web-api-template
library
exposed-modules:
Chakra
Chakra.Types
Chakra.App
Chakra.Config
Chakra.Logging
Chakra.Util
Chakra.JWT
Network.Wai.Middleware.Health
Network.Wai.Middleware.Info
other-modules:
Chakra.RequestLogging
Paths_chakra
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints
build-depends:
aeson
, base >=4.11 && <10
, bytestring
, cryptonite
, data-default
, data-has
, envy
, fast-logger
, http-types
, iproute
, jose
, network
, network-uri
, prometheus-client
, prometheus-metrics-ghc
, rio
, servant-auth
, servant-auth-server
, servant-server
, transformers
, wai
, wai-cli
, wai-extra
, wai-middleware-prometheus
, warp
default-language: Haskell2010
executable chakra-exe
main-is: Main.hs
other-modules:
User
Paths_chakra
hs-source-dirs:
examples
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N -with-rtsopts=-T
build-depends:
aeson
, base >=4.11 && <10
, bytestring
, chakra
, cryptonite
, data-default
, data-has
, dotenv
, envy
, fast-logger
, http-types
, iproute
, jose
, network
, network-uri
, optparse-simple
, prometheus-client
, prometheus-metrics-ghc
, rio
, servant-auth
, servant-auth-server
, servant-server
, transformers
, unordered-containers
, wai
, wai-cli
, wai-extra
, wai-middleware-prometheus
, warp
default-language: Haskell2010
test-suite chakra-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
UtilSpec
Paths_chakra
hs-source-dirs:
test
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
aeson
, base >=4.11 && <10
, bytestring
, chakra
, cryptonite
, data-default
, data-has
, envy
, fast-logger
, hspec
, http-types
, iproute
, jose
, network
, network-uri
, prometheus-client
, prometheus-metrics-ghc
, rio
, servant-auth
, servant-auth-server
, servant-server
, transformers
, wai
, wai-cli
, wai-extra
, wai-middleware-prometheus
, warp
default-language: Haskell2010