git.iko.soy/typeable/http-api-data
on v0.3 help sign in
typeable/http-api-data/http-api-data.cabal
82 lines 2.4 kB history raw
1name: http-api-data
2version: 0.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.10
13build-type: Custom
14extra-source-files:
15 include/overlapping-compat.h
16 test/*.hs
17 CHANGELOG.md
18 README.md
20flag use-text-show
21 description: Use text-show library for efficient ToHttpApiData implementations.
22 default: False
24library
25 hs-source-dirs: src/
26 include-dirs: include/
27 build-depends: base >= 4.6 && < 4.10
28 , bytestring
29 , containers
30 , hashable
31 , text >= 0.5
32 , time
33 , time-locale-compat >=0.1.1.0 && <0.2
34 , unordered-containers
35 , uri-bytestring
36 if flag(use-text-show)
37 cpp-options: -DUSE_TEXT_SHOW
38 build-depends: text-show >= 2
39 exposed-modules:
40 Web.HttpApiData
41 Web.FormUrlEncoded
42 Web.Internal.FormUrlEncoded
43 Web.Internal.HttpApiData
44 ghc-options: -Wall
45 default-language: Haskell2010
47test-suite spec
48 type: exitcode-stdio-1.0
49 main-is: Spec.hs
50 other-modules:
51 Web.Internal.FormUrlEncodedSpec
52 Web.Internal.HttpApiDataSpec
53 Web.Internal.TestInstances
54 hs-source-dirs: test
55 ghc-options: -Wall
56 default-language: Haskell2010
57 build-depends: HUnit
58 , hspec >= 1.3
59 , base >= 4 && < 5
60 , bytestring
61 , QuickCheck
62 , unordered-containers
63 , http-api-data
64 , text
65 , time
66 , bytestring
68test-suite doctest
69 ghc-options: -Wall
70 build-depends:
71 base,
72 directory >= 1.0,
73 doctest >= 0.11 && <0.12,
74 filepath
75 default-language: Haskell2010
76 hs-source-dirs: test
77 main-is: DocTest.hs
78 type: exitcode-stdio-1.0
80source-repository head
81 type: git
82 location: https://github.com/fizruk/http-api-data