on type-errors help sign in
servant/servant-foreign/servant-foreign.cabal
80 lines 2.8 kB history raw
1cabal-version: >=1.10
2name: servant-foreign
3version: 0.15.4
5synopsis: Helpers for generating clients for servant APIs in any programming language
6category: Servant, Web
7description:
8 Helper types and functions for generating client functions for servant APIs in any programming language
9 .
10 This package provides types and functions that collect all the data needed to generate client functions in the programming language of your choice. This effectively means you only have to write the code that "pretty-prints" this data as some code in your target language.
11 .
12 See the servant-js package for an example
13 .
14 <https://github.com/haskell-servant/servant/blob/master/servant-foreign/CHANGELOG.md CHANGELOG>
16homepage: http://docs.servant.dev/
17bug-reports: http://github.com/haskell-servant/servant/issues
18license: BSD-3-Clause
19license-file: LICENSE
20author: Servant Contributors
21maintainer: haskell-servant-maintainers@googlegroups.com
22copyright: 2015-2019 Servant Contributors
23build-type: Simple
24tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.2 || ==9.0.1
26extra-source-files:
27 CHANGELOG.md
28 README.md
30source-repository head
31 type: git
32 location: http://github.com/haskell-servant/servant.git
34library
35 exposed-modules: Servant.Foreign
36 , Servant.Foreign.Internal
37 , Servant.Foreign.Inflections
39 -- Bundled with GHC: Lower bound to not force re-installs
40 -- text and mtl are bundled starting with GHC-8.4
41 --
42 -- note: mtl lower bound is so low because of GHC-7.8
43 build-depends:
44 base >= 4.9 && < 4.16
45 , text >= 1.2.3.0 && < 1.3
47 -- Servant dependencies
48 build-depends:
49 servant >=0.18 && <0.19
51 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
52 -- Here can be exceptions if we really need features from the newer versions.
53 build-depends:
54 base-compat >= 0.10.5 && < 0.12
55 , lens >= 4.17 && < 5.1
56 , http-types >= 0.12.2 && < 0.13
58 hs-source-dirs: src
59 default-language: Haskell2010
60 ghc-options: -Wall -Wno-redundant-constraints
62test-suite spec
63 type: exitcode-stdio-1.0
64 hs-source-dirs: test
65 ghc-options: -Wall
66 main-is: Spec.hs
67 other-modules: Servant.ForeignSpec
69 -- Dependencies inherited from the library. No need to specify bounds.
70 build-depends:
71 base
72 , servant
73 , servant-foreign
75 -- Additional dependencies
76 build-depends:
77 hspec >= 2.6.0 && <2.9
78 build-tool-depends:
79 hspec-discover:hspec-discover >=2.6.0 && <2.9
80 default-language: Haskell2010