servant/servant-foreign/servant-foreign.cabal

93 lines
2.9 KiB
Text
Raw Normal View History

name: servant-foreign
2018-04-09 11:26:35 +02:00
version: 0.11.1
2018-06-19 11:41:54 +02:00
x-revision: 2
2015-09-23 00:03:56 +02:00
synopsis: Helpers for generating clients for servant APIs in any programming language
description:
Helper types and functions for generating client functions for servant APIs in any programming language
.
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.
.
2015-09-23 00:03:56 +02:00
See the servant-js package for an example
.
<https://github.com/haskell-servant/servant/blob/master/servant-foreign/CHANGELOG.md CHANGELOG>
license: BSD3
license-file: LICENSE
author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com
copyright: 2015-2016 Servant Contributors
2017-07-25 09:46:57 +02:00
category: Servant, Web
build-type: Simple
cabal-version: >=1.10
extra-source-files:
include/*.h
CHANGELOG.md
README.md
bug-reports: http://github.com/haskell-servant/servant/issues
2017-10-22 11:59:10 +02:00
tested-with:
GHC==7.8.4
GHC==7.10.3
GHC==8.0.2
2017-12-10 12:29:37 +01:00
GHC==8.2.2
GHC==8.4.3
2017-10-22 11:59:10 +02:00
source-repository head
type: git
location: http://github.com/haskell-servant/servant.git
library
2016-02-17 22:47:30 +01:00
exposed-modules: Servant.Foreign
, Servant.Foreign.Internal
, Servant.Foreign.Inflections
2018-01-25 12:49:39 +01:00
-- Bundled with GHC: Lower bound to not force re-installs
-- text and mtl are bundled starting with GHC-8.4
--
-- note: mtl lower bound is so low because of GHC-7.8
build-depends:
2018-03-15 09:46:30 +01:00
base >= 4.7 && <4.12
2018-01-25 12:49:39 +01:00
, text >= 1.2.3.0 && < 1.3
2018-03-15 09:46:30 +01:00
if !impl(ghc >= 8.0)
build-depends:
semigroups >=0.18.3 && <0.19
2018-01-25 12:49:39 +01:00
-- Servant dependencies
build-depends:
2018-06-12 18:27:13 +02:00
servant == 0.13.* || ==0.14.*
2018-01-25 12:49:39 +01:00
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
-- Here can be exceptions if we really need features from the newer versions.
build-depends:
2018-04-09 11:26:35 +02:00
base-compat >= 0.9.3 && <0.11
, lens >= 4.15.4 && <4.17
, http-types >= 0.12 && < 0.13
2018-01-25 12:49:39 +01:00
hs-source-dirs: src
default-language: Haskell2010
2015-10-02 10:23:57 +02:00
ghc-options: -Wall
2016-04-22 08:32:39 +02:00
if impl(ghc >= 8.0)
ghc-options: -Wno-redundant-constraints
2015-12-27 17:54:29 +01:00
include-dirs: include
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: test
ghc-options: -Wall
2016-01-06 18:20:20 +01:00
include-dirs: include
main-is: Spec.hs
2016-02-17 22:47:30 +01:00
other-modules: Servant.ForeignSpec
2018-01-25 12:49:39 +01:00
-- Dependencies inherited from the library. No need to specify bounds.
build-depends:
base
, servant
, servant-foreign
-- Additonal dependencies
build-depends:
hspec >= 2.4.4 && <2.6
2018-01-25 12:49:39 +01:00
build-tool-depends:
hspec-discover:hspec-discover >=2.4.4 && <2.6
2015-12-02 15:26:45 +01:00
default-language: Haskell2010