git.iko.soy/typeable/servant
on v0.14.1 help sign in
typeable/servant/servant-foreign/servant-foreign.cabal
92 lines 2.9 kB history raw
1name: servant-foreign
2version: 0.11.1
3x-revision: 3
4synopsis: Helpers for generating clients for servant APIs in any programming language
5description:
6 Helper types and functions for generating client functions for servant APIs in any programming language
7 .
8 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.
9 .
10 See the servant-js package for an example
11 .
12 <https://github.com/haskell-servant/servant/blob/master/servant-foreign/CHANGELOG.md CHANGELOG>
13license: BSD3
14license-file: LICENSE
15author: Servant Contributors
16maintainer: haskell-servant-maintainers@googlegroups.com
17copyright: 2015-2016 Servant Contributors
18category: Servant, Web
19build-type: Simple
20cabal-version: >=1.10
21extra-source-files:
22 include/*.h
23 CHANGELOG.md
24 README.md
25bug-reports: http://github.com/haskell-servant/servant/issues
26tested-with:
27 GHC==7.8.4
28 GHC==7.10.3
29 GHC==8.0.2
30 GHC==8.2.2
31 GHC==8.4.3
33source-repository head
34 type: git
35 location: http://github.com/haskell-servant/servant.git
37library
38 exposed-modules: Servant.Foreign
39 , Servant.Foreign.Internal
40 , Servant.Foreign.Inflections
42 -- Bundled with GHC: Lower bound to not force re-installs
43 -- text and mtl are bundled starting with GHC-8.4
44 --
45 -- note: mtl lower bound is so low because of GHC-7.8
46 build-depends:
47 base >= 4.7 && <4.12
48 , text >= 1.2.3.0 && < 1.3
50 if !impl(ghc >= 8.0)
51 build-depends:
52 semigroups >=0.18.3 && <0.19
54 -- Servant dependencies
55 build-depends:
56 servant == 0.13.* || ==0.14.*
58 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
59 -- Here can be exceptions if we really need features from the newer versions.
60 build-depends:
61 base-compat >= 0.9.3 && <0.11
62 , lens >= 4.15.4 && <4.18
63 , http-types >= 0.12 && < 0.13
65 hs-source-dirs: src
66 default-language: Haskell2010
67 ghc-options: -Wall
68 if impl(ghc >= 8.0)
69 ghc-options: -Wno-redundant-constraints
70 include-dirs: include
72test-suite spec
73 type: exitcode-stdio-1.0
74 hs-source-dirs: test
75 ghc-options: -Wall
76 include-dirs: include
77 main-is: Spec.hs
78 other-modules: Servant.ForeignSpec
80 -- Dependencies inherited from the library. No need to specify bounds.
81 build-depends:
82 base
83 , servant
84 , servant-foreign
86 -- Additonal dependencies
87 build-depends:
88 hspec >= 2.4.4 && <2.6
90 build-tool-depends:
91 hspec-discover:hspec-discover >=2.4.4 && <2.6
92 default-language: Haskell2010