git.iko.soy/typeable/http-api-data
on 826eff9 help sign in
typeable/http-api-data/http-api-data.cabal
59 lines 1.8 kB history raw
1name: http-api-data
2version: 0.2.3
3license: BSD3
4license-file: LICENSE
5author: Nickolay Kudasov <nickolay.kudasov@gmail.com>
6maintainer: Nickolay Kudasov <nickolay.kudasov@gmail.com>
7synopsis: Converting to/from HTTP API data like URL pieces, headers and query parameters.
8description: Please see README.md
9homepage: http://github.com/fizruk/http-api-data
10category: Web
11stability: unstable
12cabal-version: >= 1.8
13build-type: Simple
14extra-source-files:
15 test/*.hs
16 CHANGELOG.md
17 README.md
19flag use-text-show
20 description: Use text-show library for efficient ToHttpApiData implementations.
21 default: False
23library
24 build-depends: base >= 4.6 && < 4.10
25 , text >= 0.5
26 , bytestring
27 , time
28 , time-locale-compat >=0.1.1.0 && <0.2
29 if flag(use-text-show)
30 cpp-options: -DUSE_TEXT_SHOW
31 build-depends: text-show >= 2
32 exposed-modules:
33 Web.HttpApiData
34 Web.HttpApiData.Internal
35 ghc-options: -Wall
37test-suite spec
38 type: exitcode-stdio-1.0
39 main-is: Spec.hs
40 hs-source-dirs: test
41 ghc-options: -Wall
42 build-depends: HUnit
43 , hspec >= 1.3
44 , base >= 4 && < 5
45 , QuickCheck
46 , http-api-data
47 , text
48 , time
49 , bytestring
51test-suite doctest
52 build-depends: base, doctest, Glob
53 hs-source-dirs: test
54 main-is: DocTest.hs
55 type: exitcode-stdio-1.0
57source-repository head
58 type: git
59 location: https://github.com/fizruk/http-api-data