on servant-docs-0.11.5 help sign in
servant/servant-foreign/servant-foreign.cabal
86 lines 2.8 kB history raw
1cabal-version: >=1.10
2name: servant-foreign
3version: 0.15.1
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: BSD3
19license-file: LICENSE
20author: Servant Contributors
21maintainer: haskell-servant-maintainers@googlegroups.com
22copyright: 2015-2019 Servant Contributors
23build-type: Simple
24tested-with:
25 GHC ==8.0.2
26 || ==8.2.2
27 || ==8.4.4
28 || ==8.6.5
29 || ==8.8.2
31extra-source-files:
32 CHANGELOG.md
33 README.md
35source-repository head
36 type: git
37 location: http://github.com/haskell-servant/servant.git
39library
40 exposed-modules: Servant.Foreign
41 , Servant.Foreign.Internal
42 , Servant.Foreign.Inflections
44 -- Bundled with GHC: Lower bound to not force re-installs
45 -- text and mtl are bundled starting with GHC-8.4
46 --
47 -- note: mtl lower bound is so low because of GHC-7.8
48 build-depends:
49 base >= 4.9 && < 4.14
50 , text >= 1.2.3.0 && < 1.3
52 -- Servant dependencies
53 build-depends:
54 servant >=0.17 && <0.18
56 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
57 -- Here can be exceptions if we really need features from the newer versions.
58 build-depends:
59 base-compat >= 0.10.5 && < 0.12
60 , lens >= 4.17 && < 4.19
61 , http-types >= 0.12.2 && < 0.13
63 hs-source-dirs: src
64 default-language: Haskell2010
65 ghc-options: -Wall -Wno-redundant-constraints
67test-suite spec
68 type: exitcode-stdio-1.0
69 hs-source-dirs: test
70 ghc-options: -Wall
71 main-is: Spec.hs
72 other-modules: Servant.ForeignSpec
74 -- Dependencies inherited from the library. No need to specify bounds.
75 build-depends:
76 base
77 , servant
78 , servant-foreign
80 -- Additonal dependencies
81 build-depends:
82 hspec >= 2.6.0 && <2.8
84 build-tool-depends:
85 hspec-discover:hspec-discover >=2.6.0 && <2.8
86 default-language: Haskell2010