name:                cloudi
version:             1.8.0
synopsis:            Haskell CloudI API
description:         Haskell CloudI API (see https://cloudi.org for more details)
homepage:            https://github.com/CloudI/cloudi_api_haskell
license:             MIT
license-file:        LICENSE
author:              Michael Truog
maintainer:          mjtruog at protonmail dot com
copyright:           2017-2019 Michael Truog
category:            Foreign
stability:           provisional
build-type:          Simple
cabal-version:       1.22
tested-with:           GHC == 7.10.3
                     , GHC == 8.0.2
                     , GHC == 8.2.2
                     , GHC == 8.4.3
                     , GHC == 8.6.5
                     , GHC == 8.8.1
extra-source-files:  README.markdown changelog.md

flag dev
  description:        Turn on development settings.
  manual:             True
  default:            False

library
  hs-source-dirs:    src
  exposed-modules:     Foreign.CloudI
                     , Foreign.Erlang
                     , Foreign.Erlang.Pid
                     , Foreign.Erlang.Port
                     , Foreign.Erlang.Reference
                     , Foreign.Erlang.Function
  other-modules:       Foreign.CloudI.Instance
  if flag(dev)
    ghc-options:     -Wall -Werror -funbox-strict-fields
  else
    ghc-options:     -Wall -funbox-strict-fields
  build-depends:       base >= 4.8.2.0 && < 5.0
                     , binary >= 0.8.4.0
                     , bytestring >= 0.10.4
                     , network >= 3.0.0.0
                     , array
                     , containers
                     , time
                     , unix
                     , zlib
  default-language:  Haskell2010

source-repository head
  type:     git
  location: https://github.com/CloudI/cloudi_api_haskell.git