git.iko.soy/typeable/http-api-data
on v0.3.4 help sign in
typeable/http-api-data/http-api-data.cabal
99 lines 2.8 kB history raw
1name: http-api-data
2version: 0.3.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 include/overlapping-compat.h
16 test/*.hs
17 CHANGELOG.md
18 README.md
19tested-with:
20 GHC==7.8.4,
21 GHC==7.10.3,
22 GHC==8.0.2,
23 GHC==8.1.*
25custom-setup
26 setup-depends:
27 base >= 4.7 && <4.10,
28 Cabal >= 1.18 && <1.26,
29 filepath,
30 directory
32flag use-text-show
33 description: Use text-show library for efficient ToHttpApiData implementations.
34 default: False
35 manual: True
37library
38 hs-source-dirs: src/
39 include-dirs: include/
40 build-depends: base >= 4.7 && < 4.10
41 , bytestring
42 , containers
43 , hashable
44 , text >= 0.5
45 , time
46 , time-locale-compat >=0.1.1.0 && <0.2
47 , unordered-containers
48 , uri-bytestring
49 , uuid-types >= 1.0.2 && <1.1
50 if flag(use-text-show)
51 cpp-options: -DUSE_TEXT_SHOW
52 build-depends: text-show >= 2
53 exposed-modules:
54 Web.HttpApiData
55 Web.FormUrlEncoded
56 Web.Internal.FormUrlEncoded
57 Web.Internal.HttpApiData
58 ghc-options: -Wall
59 default-language: Haskell2010
61test-suite spec
62 type: exitcode-stdio-1.0
63 main-is: Spec.hs
64 other-modules:
65 Web.Internal.FormUrlEncodedSpec
66 Web.Internal.HttpApiDataSpec
67 Web.Internal.TestInstances
68 hs-source-dirs: test
69 ghc-options: -Wall
70 default-language: Haskell2010
71 build-depends: HUnit
72 , hspec >= 1.3
73 , base >= 4 && < 5
74 , bytestring
75 , QuickCheck >=2.9
76 , quickcheck-instances >= 0.3.12
77 , unordered-containers
78 , http-api-data
79 , text
80 , time
81 , bytestring
82 , uuid
84test-suite doctests
85 ghc-options: -Wall
86 build-tools: hsc2hs
87 build-depends:
88 base,
89 directory >= 1.0,
90 doctest >= 0.11 && <0.12,
91 filepath
92 default-language: Haskell2010
93 hs-source-dirs: test
94 main-is: DocTest.hs
95 type: exitcode-stdio-1.0
97source-repository head
98 type: git
99 location: https://github.com/fizruk/http-api-data