on pr610 help sign in
servant/servant-foreign/servant-foreign.cabal
83 lines 3.2 kB history raw
1name: servant-foreign
2version: 0.9
3synopsis: Helpers for generating clients for servant APIs in any programming language
4description:
5 Helper types and functions for generating client functions for servant APIs in any programming language
6 .
7 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.
8 .
9 See the servant-js package for an example
10 .
11 <https://github.com/haskell-servant/servant/blob/master/servant-foreign/CHANGELOG.md CHANGELOG>
12license: BSD3
13license-file: LICENSE
14author: Servant Contributors
15maintainer: haskell-servant-maintainers@googlegroups.com
16copyright: 2015-2016 Servant Contributors
17category: Web
18build-type: Simple
19cabal-version: >=1.10
20extra-source-files:
21 include/*.h
22 CHANGELOG.md
23 README.md
24bug-reports: http://github.com/haskell-servant/servant/issues
25source-repository head
26 type: git
27 location: http://github.com/haskell-servant/servant.git
29library
30 exposed-modules: Servant.Foreign
31 , Servant.Foreign.Internal
32 , Servant.Foreign.Inflections
33 build-depends: base == 4.*
34 , lens == 4.*
35 , servant == 0.9.*
36 , text >= 1.2 && < 1.3
37 , http-types
38 hs-source-dirs: src
39 default-language: Haskell2010
40 ghc-options: -Wall
41 if impl(ghc >= 8.0)
42 ghc-options: -Wno-redundant-constraints
43 include-dirs: include
44 default-extensions: CPP
45 , ConstraintKinds
46 , DataKinds
47 , FlexibleContexts
48 , FlexibleInstances
49 , GeneralizedNewtypeDeriving
50 , MultiParamTypeClasses
51 , ScopedTypeVariables
52 , StandaloneDeriving
53 , TemplateHaskell
54 , TypeFamilies
55 , TypeOperators
56 , UndecidableInstances
57 , OverloadedStrings
58 , PolyKinds
61test-suite spec
62 type: exitcode-stdio-1.0
63 hs-source-dirs: test
64 ghc-options: -Wall
65 include-dirs: include
66 main-is: Spec.hs
67 other-modules: Servant.ForeignSpec
68 build-depends: base
69 , hspec >= 2.1.8
70 , servant-foreign
71 default-language: Haskell2010
72 default-extensions: ConstraintKinds
73 , DataKinds
74 , FlexibleContexts
75 , FlexibleInstances
76 , GeneralizedNewtypeDeriving
77 , MultiParamTypeClasses
78 , ScopedTypeVariables
79 , TypeFamilies
80 , TypeOperators
81 , UndecidableInstances
82 , OverloadedStrings
83 , PolyKinds