packages feed

fpco-api-1.0.1: fpco-api.cabal

name:                 fpco-api
version:              1.0.1
synopsis:             API interface for the FP Complete API.
description:          A server, data types and serialization for communicating with the FP Complete IDE API.
homepage:             https://www.fpcomplete.com/page/api
license:              BSD3
license-file:         LICENSE
author:               FP Complete
maintainer:           dev@fpcomplete.com
copyright:            2013 FP Complete
category:             Development
build-type:           Simple
cabal-version:        >=1.10

flag jenkins-build
  default: False

library
  ghc-options:       -Wall -O2
  hs-source-dirs:     src/library
  exposed-modules:    FP.API, FP.API.Run, FP.API.Types, FP.Server, FP.Server.Types, FP.Server.Config,
                      FP.Server.Spans, FP.API.Convert
  other-modules:      FP.API.TH, FFI
  default-language:   Haskell2010
  build-depends:      base >=4 && < 5,
                      aeson ==0.6.*,
                      bytestring >= 0.9,
                      ConfigFile ==1.1.*,
                      data-default ==0.5.*,
                      text ==0.11.*,
                      network ==2.4.*,
                      optparse-applicative ==0.5.*,
                      safe ==0.3.*,
                      directory >=1.1,
                      filepath ==1.3.*,
                      fay ==0.18.*,
                      lifted-base ==0.2.*,
                      monad-extras ==0.5.*,
                      monad-logger ==0.3.*,
                      mtl ==2.1.*,
                      containers >= 0.4,
                      http-conduit ==1.9.*,
                      texts ==0.3.*,
                      ghc-prim,
                      template-haskell ==2.7.*,
                      attoparsec ==0.10.*,
                      syb ==0.4.*,
                      unordered-containers ==0.2.*,
                      vector ==0.10.*,
                      pretty-show ==1.6.*,
                      failure ==0.2.*,
                      resourcet ==0.4.*,
                      yesod-fay ==0.4.*,
                      http-types ==0.8.*,
                      persistent ==1.2.*,
                      persistent-template ==1.2.*,
                      random ==1.0.*

executable fpco-api
  if flag(jenkins-build)
    buildable: False
  ghc-options:        -Wall -threaded -O2
  main-is:            Main.hs
  default-extensions: CPP
  hs-source-dirs:     src/executables
  default-language:   Haskell2010
  build-depends:      base >=4 && < 5,
                      fpco-api,
                      optparse-applicative == 0.5.*,
                      bytestring >= 0.9,
                      network ==2.4.*,
                      safe ==0.3.*,
                      aeson ==0.6.*,
                      text ==0.11.*,
                      directory >=1.1,
                      filepath ==1.3.*,
                      ConfigFile ==1.1.*,
                      data-default ==0.5.*,
                      process == 1.1.*