]> Git — Sourcephile - haskell/symantic-http.git/blob - symantic-http.cabal
Add support for multiple MIME types
[haskell/symantic-http.git] / symantic-http.cabal
1 name: symantic-http
2 -- PVP: +-+------- breaking API changes
3 -- | | +----- non-breaking API additions
4 -- | | | +--- code changes with no API change
5 version: 0.0.0.20190305
6 category: Protocol
7 synopsis: Symantic combinators for deriving HTTP clients, servers and docs from an API.
8 description: An experimental Domain-Specific Language (DSL) for HTTP,
9 trying to be as powerful as
10 <https://hackage.haskell.org/package/servant servant>'s
11 while proposing an arguably simpler (hence more customisable) machinery,
12 based upon <http://okmij.org/ftp/typed-formatting/ symantics> (aka. Tagless-Final DSL)
13 instead of a type-level machinery using advanced Haskell.
14 extra-doc-files:
15 license: GPL-3
16 license-file: COPYING
17 stability: experimental
18 author: Julien Moutinho <julm+symantic-http@autogeree.net>
19 maintainer: Julien Moutinho <julm+symantic-http@autogeree.net>
20 bug-reports: Julien Moutinho <julm+symantic-http@autogeree.net>
21 -- homepage:
22
23 build-type: Simple
24 cabal-version: 1.24
25 tested-with: GHC==8.4.4
26 extra-source-files:
27 stack.yaml
28 extra-tmp-files:
29
30 Source-Repository head
31 location: git://git.autogeree.net/symantic-http
32 type: git
33
34 Library
35 exposed-modules:
36 Symantic.HTTP
37 Symantic.HTTP.API
38 Symantic.HTTP.Client
39 Symantic.HTTP.Client.Connection
40 Symantic.HTTP.Layout
41 Symantic.HTTP.Mime
42 Symantic.HTTP.Mime.Type
43 Symantic.HTTP.Server
44 Symantic.HTTP.URI
45 default-language: Haskell2010
46 default-extensions:
47 FlexibleContexts
48 FlexibleInstances
49 LambdaCase
50 MultiParamTypeClasses
51 NamedFieldPuns
52 NoImplicitPrelude
53 RecordWildCards
54 ScopedTypeVariables
55 TupleSections
56 ghc-options:
57 -Wall
58 -Wincomplete-uni-patterns
59 -Wincomplete-record-updates
60 -fno-warn-tabs
61 -- -fhide-source-paths
62 build-depends:
63 base >= 4.10 && < 5
64 , base64-bytestring >= 1.0.0.1
65 , bytestring >= 0.10
66 , containers >= 0.5
67 -- , constraint >= 0.1
68 , data-default-class >= 0.1
69 -- , filepath >= 1.4
70 , http-api-data >= 0.4
71 , http-client >= 0.5.12
72 , http-types >= 0.12
73 , http-media >= 0.7
74 , monad-classes >= 0.3.2
75 , network-uri >= 2.6
76 , resourcet >= 1.1.11
77 -- , safe >= 0.3
78 , stm >= 2.4.5
79 , time
80 , text >= 1.2
81 , transformers >= 0.5
82 , unordered-containers >= 0.2.8
83 , wai >= 3.2.1.1
84 -- , wai-app-static >= 3.1.6.1
85 , warp
86 , word8 >= 0.1.3
87 -- pkgconfig-depends: zlib
88 -- extra-libraries: z
89
90 Test-Suite symantic-http-test
91 type: exitcode-stdio-1.0
92 hs-source-dirs: test
93 main-is: Main.hs
94 other-modules:
95 -- Golden
96 Hspec
97 Hspec.API
98 Hspec.Client
99 Hspec.Server
100 Hspec.Server.Error
101 HUnit
102 -- HUnit.HSpec
103 -- QuickCheck
104 default-language: Haskell2010
105 default-extensions:
106 DataKinds
107 FlexibleContexts
108 FlexibleInstances
109 LambdaCase
110 MultiParamTypeClasses
111 NamedFieldPuns
112 NoImplicitPrelude
113 RecordWildCards
114 ScopedTypeVariables
115 TupleSections
116 ViewPatterns
117 ghc-options:
118 -Wall
119 -Wincomplete-uni-patterns
120 -Wincomplete-record-updates
121 -fno-warn-tabs
122 -fhide-source-paths
123 build-depends:
124 symantic-http
125 , base >= 4.10 && < 5
126 , base64-bytestring >= 1.0.0.1
127 , bytestring >= 0.10
128 , containers >= 0.5
129 , deepseq >= 1.4
130 , filepath >= 1.4
131 , hashable >= 1.2.6
132 , hspec
133 , hspec-wai >= 0.9
134 , http-api-data >= 0.4
135 , http-client >= 0.5.12
136 , http-media >= 0.7
137 , http-types >= 0.12
138 , megaparsec >= 6.3
139 , network
140 -- >= 2.8
141 , network-uri >= 2.6
142 , tasty >= 0.11
143 , tasty-hspec >= 1.1
144 , tasty-hunit >= 0.10
145 , text >= 1.2
146 , time
147 , transformers >= 0.4
148 , wai >= 3.2.1.1
149 , wai-extra >= 3.0
150 , warp
151 -- , wai-app-static >= 3.1.6.1
152 -- , QuickCheck >= 2.0
153 -- , tasty-golden >= 2.3
154 -- , tasty-quickcheck