git.iko.soy/typeable/http-api-data
on v0.3.8 help sign in
typeable/http-api-data/http-api-data.cabal
107 lines 3.4 kB history raw
1name: http-api-data
2version: 0.3.8
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:
9 This package defines typeclasses used for converting Haskell data types to and from HTTP API data.
10 .
11 Please see README.md
12homepage: http://github.com/fizruk/http-api-data
13category: Web
14stability: unstable
15cabal-version: >= 1.10
16build-type: Custom
17extra-source-files:
18 include/overlapping-compat.h
19 test/*.hs
20 CHANGELOG.md
21 README.md
22tested-with:
23 GHC==7.8.4,
24 GHC==7.10.3,
25 GHC==8.0.2,
26 GHC==8.2.2,
27 GHC==8.4.1
29custom-setup
30 setup-depends:
31 base >= 4.7 && <4.11,
32 Cabal >= 1.18 && <2.3,
33 cabal-doctest >=1.0.6 && <1.1
35flag use-text-show
36 description: Use text-show library for efficient ToHttpApiData implementations.
37 default: False
38 manual: True
40library
41 hs-source-dirs: src/
42 include-dirs: include/
43 build-depends: base >= 4.7 && < 4.11
44 , attoparsec >= 0.13.0.1 && < 0.14
45 , attoparsec-iso8601 >= 1.0.0.0 && < 1.1
46 , bytestring >= 0.10.4.0 && < 0.11
47 , containers >= 0.5.5.1 && < 0.6
48 , hashable >= 1.1.2.4 && < 1.3
49 , http-types >= 0.8.6 && < 0.13
50 , text >= 1.1.1.3 && < 1.3
51 , time >= 1.4.2 && < 1.9
52 , time-locale-compat >= 0.1.1.0 && < 0.2
53 , unordered-containers >= 0.2.6.0 && < 0.3
54 , uri-bytestring >= 0.1.7 && < 0.4
55 , uuid-types >= 1.0.2 && <1.1
56 if !impl(ghc >= 8.0)
57 build-depends: semigroups >= 0.16 && < 0.19
58 if flag(use-text-show)
59 cpp-options: -DUSE_TEXT_SHOW
60 build-depends: text-show >= 2
61 exposed-modules:
62 Web.HttpApiData
63 Web.FormUrlEncoded
64 Web.Internal.FormUrlEncoded
65 Web.Internal.HttpApiData
66 ghc-options: -Wall
67 default-language: Haskell2010
69test-suite spec
70 type: exitcode-stdio-1.0
71 main-is: Spec.hs
72 other-modules:
73 Web.Internal.FormUrlEncodedSpec
74 Web.Internal.HttpApiDataSpec
75 Web.Internal.TestInstances
76 hs-source-dirs: test
77 ghc-options: -Wall
78 default-language: Haskell2010
79 build-tool-depends: hspec-discover:hspec-discover >= 2.4.7 && <2.5
80 build-depends: HUnit
81 , hspec >= 2.4.7
82 , base
83 , bytestring
84 , QuickCheck >=2.9
85 , quickcheck-instances >= 0.3.12
86 , unordered-containers
87 , http-api-data
88 , text
89 , time
90 , bytestring
91 , uuid
93test-suite doctests
94 ghc-options: -Wall
95 build-depends:
96 base,
97 directory >= 1.0,
98 doctest >= 0.11 && <0.14,
99 filepath
100 default-language: Haskell2010
101 hs-source-dirs: test
102 main-is: doctests.hs
103 type: exitcode-stdio-1.0
105source-repository head
106 type: git
107 location: https://github.com/fizruk/http-api-data