git.iko.soy/typeable/http-api-data
on v0.3.7 help sign in
typeable/http-api-data/http-api-data.cabal
102 lines 2.9 kB history raw
1name: http-api-data
2version: 0.3.7
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 , attoparsec >= 0.13.0.1 && < 0.14
42 , attoparsec-iso8601 >= 1.0.0.0 && < 1.1
43 , bytestring
44 , containers
45 , hashable
46 , http-types
47 , text >= 0.5
48 , time
49 , time-locale-compat >=0.1.1.0 && <0.2
50 , unordered-containers
51 , uri-bytestring
52 , uuid-types >= 1.0.2 && <1.1
53 if flag(use-text-show)
54 cpp-options: -DUSE_TEXT_SHOW
55 build-depends: text-show >= 2
56 exposed-modules:
57 Web.HttpApiData
58 Web.FormUrlEncoded
59 Web.Internal.FormUrlEncoded
60 Web.Internal.HttpApiData
61 ghc-options: -Wall
62 default-language: Haskell2010
64test-suite spec
65 type: exitcode-stdio-1.0
66 main-is: Spec.hs
67 other-modules:
68 Web.Internal.FormUrlEncodedSpec
69 Web.Internal.HttpApiDataSpec
70 Web.Internal.TestInstances
71 hs-source-dirs: test
72 ghc-options: -Wall
73 default-language: Haskell2010
74 build-depends: HUnit
75 , hspec >= 1.3
76 , base >= 4 && < 5
77 , bytestring
78 , QuickCheck >=2.9
79 , quickcheck-instances >= 0.3.12
80 , unordered-containers
81 , http-api-data
82 , text
83 , time
84 , bytestring
85 , uuid
87test-suite doctests
88 ghc-options: -Wall
89 build-tools: hsc2hs
90 build-depends:
91 base,
92 directory >= 1.0,
93 doctest >= 0.11 && <0.12,
94 filepath
95 default-language: Haskell2010
96 hs-source-dirs: test
97 main-is: DocTest.hs
98 type: exitcode-stdio-1.0
100source-repository head
101 type: git
102 location: https://github.com/fizruk/http-api-data