packages feed

fpco-api-1.2.0.2: fpco-api.cabal

name:          fpco-api
version:       1.2.0.2
synopsis:      Simple interface to the FP Complete IDE API.
description:   A server and library 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

flag dev
    default: False

library
    ghc-options: -Wall -fwarn-incomplete-record-updates -O0
    default-language: Haskell2010
    hs-source-dirs:   src/library
    exposed-modules:
        FP.API
      , FP.API.Common
      , FP.API.ModuleName
      , FP.API.Runner
      , FP.API.Signal
      , FP.API.Types
      , FP.Server
      , FP.Server.Config
      , FP.Server.Spans
      , FP.Server.Types
    other-modules:
        FFI
      , FP.API.Dispatch
    build-depends:
        base >=4 && < 5
      , aeson                >= 0.6
      , attoparsec           >= 0.10
      , base64-bytestring    >= 1.0.0.1
      , blaze-html           >= 0.6
      , bytestring           >= 0.9
      , cereal               >= 0.4.0.1
      , containers           >= 0.4
      , data-default         >= 0.5
      , deepseq              >= 1.1
      , deepseq-generics     >= 0.1
      , directory            >= 1.1
      , failure              >= 0.2
      , fay                  >= 0.18
      , filepath             >= 1.3
      , ghc-prim
      , hashable
      , http-conduit         == 2.1.*
      , http-types           >= 0.8
      , lifted-async         >= 0.1
      , lifted-base          >= 0.2
      , monad-control        >= 0.3.2
      , monad-extras         >= 0.5
      , monad-logger         >= 0.3
      , mtl                  >= 2.1
      , network              >= 2.4
      , persistent           >= 1.2
      , persistent-template  >= 1.2
      , pretty-show          >= 1.6
      , random               >= 1.0
      , resourcet            >= 0.4
      , safe                 >= 0.3
      , semigroups           >= 0.12.2
      , shakespeare
      , shakespeare-i18n
      , stm                  >= 2.4
      , syb                  >= 0.4
      , template-haskell     >= 2.7
      , text                 >= 0.11
      , texts                >= 0.3
      , time                 >= 1.4
      , transformers         >= 0.3
      , transformers-base    >= 0.4
      , unordered-containers >= 0.2
      , vector               >= 0.10
      , yesod-core           >= 1.2
      , yesod-fay            >= 0.4

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