git.iko.soy/typeable/servant
on release-0.15 help sign in
typeable/servant/servant-foreign/servant-foreign.cabal
85 lines 2.8 kB history raw
1cabal-version: >=1.10
2name: servant-foreign
3version: 0.15
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://haskell-servant.readthedocs.org/
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-2018 Servant Contributors
23build-type: Simple
24tested-with:
25 GHC ==8.0.2
26 || ==8.2.2
27 || ==8.4.4
28 || ==8.6.2
30extra-source-files:
31 CHANGELOG.md
32 README.md
34source-repository head
35 type: git
36 location: http://github.com/haskell-servant/servant.git
38library
39 exposed-modules: Servant.Foreign
40 , Servant.Foreign.Internal
41 , Servant.Foreign.Inflections
43 -- Bundled with GHC: Lower bound to not force re-installs
44 -- text and mtl are bundled starting with GHC-8.4
45 --
46 -- note: mtl lower bound is so low because of GHC-7.8
47 build-depends:
48 base >= 4.9 && < 4.13
49 , text >= 1.2.3.0 && < 1.3
51 -- Servant dependencies
52 build-depends:
53 servant == 0.15.*
55 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
56 -- Here can be exceptions if we really need features from the newer versions.
57 build-depends:
58 base-compat >= 0.10.5 && < 0.11
59 , lens >= 4.17 && < 4.18
60 , http-types >= 0.12.2 && < 0.13
62 hs-source-dirs: src
63 default-language: Haskell2010
64 ghc-options: -Wall -Wno-redundant-constraints
66test-suite spec
67 type: exitcode-stdio-1.0
68 hs-source-dirs: test
69 ghc-options: -Wall
70 main-is: Spec.hs
71 other-modules: Servant.ForeignSpec
73 -- Dependencies inherited from the library. No need to specify bounds.
74 build-depends:
75 base
76 , servant
77 , servant-foreign
79 -- Additonal dependencies
80 build-depends:
81 hspec >= 2.6.0 && <2.7
83 build-tool-depends:
84 hspec-discover:hspec-discover >=2.6.0 && <2.7
85 default-language: Haskell2010