git.iko.soy/typeable/http-api-data
on v0.3.7.1 help sign in
typeable/http-api-data/http-api-data.cabal
100 lines 2.9 kB history raw
1name: http-api-data
2version: 0.3.7.1
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.11,
28 Cabal >= 1.18 && <2.1,
29 cabal-doctest >=1.0.1 && <1.1
31flag use-text-show
32 description: Use text-show library for efficient ToHttpApiData implementations.
33 default: False
34 manual: True
36library
37 hs-source-dirs: src/
38 include-dirs: include/
39 build-depends: base >= 4.7 && < 4.11
40 , attoparsec >= 0.13.0.1 && < 0.14
41 , attoparsec-iso8601 >= 1.0.0.0 && < 1.1
42 , bytestring
43 , containers
44 , hashable
45 , http-types
46 , text >= 0.5
47 , time
48 , time-locale-compat >=0.1.1.0 && <0.2
49 , unordered-containers
50 , uri-bytestring
51 , uuid-types >= 1.0.2 && <1.1
52 if flag(use-text-show)
53 cpp-options: -DUSE_TEXT_SHOW
54 build-depends: text-show >= 2
55 exposed-modules:
56 Web.HttpApiData
57 Web.FormUrlEncoded
58 Web.Internal.FormUrlEncoded
59 Web.Internal.HttpApiData
60 ghc-options: -Wall
61 default-language: Haskell2010
63test-suite spec
64 type: exitcode-stdio-1.0
65 main-is: Spec.hs
66 other-modules:
67 Web.Internal.FormUrlEncodedSpec
68 Web.Internal.HttpApiDataSpec
69 Web.Internal.TestInstances
70 hs-source-dirs: test
71 ghc-options: -Wall
72 default-language: Haskell2010
73 build-depends: HUnit
74 , hspec >= 1.3
75 , base >= 4 && < 5
76 , bytestring
77 , QuickCheck >=2.9
78 , quickcheck-instances >= 0.3.12
79 , unordered-containers
80 , http-api-data
81 , text
82 , time
83 , bytestring
84 , uuid
86test-suite doctests
87 ghc-options: -Wall
88 build-depends:
89 base,
90 directory >= 1.0,
91 doctest >= 0.11 && <0.12,
92 filepath
93 default-language: Haskell2010
94 hs-source-dirs: test
95 main-is: doctests.hs
96 type: exitcode-stdio-1.0
98source-repository head
99 type: git
100 location: https://github.com/fizruk/http-api-data