git.iko.soy/typeable/http-api-data
on fb08da7 help sign in
typeable/http-api-data/http-api-data.cabal
79 lines 2.4 kB history raw
1name: http-api-data
2version: 0.2.4
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.10
13build-type: Custom
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 hs-source-dirs: src/
25 build-depends: base >= 4.6 && < 4.10
26 , text >= 0.5
27 , bytestring
28 , containers
29 , mtl
30 , time
31 , time-locale-compat >=0.1.1.0 && <0.2
32 , network-uri >= 2.6 && < 2.7
33 , utf8-string >= 1
34 if flag(use-text-show)
35 cpp-options: -DUSE_TEXT_SHOW
36 build-depends: text-show >= 2
37 exposed-modules:
38 Web.HttpApiData
39 Web.HttpApiData.Internal.FormUrlEncoded
40 Web.HttpApiData.Internal.HttpApiData
41 ghc-options: -Wall
42 default-language: Haskell2010
44test-suite spec
45 type: exitcode-stdio-1.0
46 main-is: Spec.hs
47 other-modules:
48 Web.HttpApiData.Internal.FormUrlEncodedSpec
49 Web.HttpApiData.Internal.HttpApiDataSpec
50 Web.HttpApiData.Internal.TestInstances
51 hs-source-dirs: test
52 ghc-options: -Wall
53 default-language: Haskell2010
54 build-depends: HUnit
55 , hspec >= 1.3
56 , base >= 4 && < 5
57 , bytestring
58 , QuickCheck
59 , containers
60 , http-api-data
61 , text
62 , time
63 , bytestring
65test-suite doctest
66 ghc-options: -Wall
67 build-depends:
68 base,
69 directory >= 1.0,
70 doctest >= 0.11 && <0.12,
71 filepath
72 default-language: Haskell2010
73 hs-source-dirs: test
74 main-is: DocTest.hs
75 type: exitcode-stdio-1.0
77source-repository head
78 type: git
79 location: https://github.com/fizruk/http-api-data