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