name:          hzk
author:        DiegoSouza
license:       BSD3
version:       0.0.2
category:      Database
homepage:      http://github.com/dgvncsz0f/hzk
synopsis:      Haskell client library for Apache Zookeeper
build-type:    Simple
maintainer:    DiegoSouza
description:   A haskell binding to Apache Zookeeper C library
license-file:  LICENSE
cabal-version: >= 1.16

source-repository head
  type:     git
  branch:   master
  location: git://github.com/dgvncsz0f/hzk.git

library
  ghc-options:         -rtsopts -W -Wall
  include-dirs:        /usr/include/zookeeper
  build-depends:       base              (>= 4    && < 5)
                     , bytestring        (>= 0.10 && < 1)
  other-modules:       Database.Zookeeper.CApi
                     , Database.Zookeeper.Types
  hs-source-dirs:      src
  exposed-modules:     Database.Zookeeper
  extra-libraries:     zookeeper_mt
  default-language:    Haskell2010
  default-extensions:  ForeignFunctionInterface

test-suite test-zookeeper
  type:                exitcode-stdio-1.0
  main-is:             test-zookeeper.hs
  ghc-options:         -threaded -rtsopts
  include-dirs:        /usr/include/zookeeper
  other-modules:         Database.Zookeeper      
                       , Database.Zookeeper.CApi
                       , Database.Zookeeper.Types
  build-depends:         base        (>= 4    && < 5)
                       , tasty       (>= 0.3  && < 1)
                       , bytestring  (>= 0.10 && < 1)
                       , tasty-hunit (>= 0.2  && < 1)
  hs-source-dirs:      src
  extra-libraries:     zookeeper_mt
  default-language:    Haskell2010
  other-extensions:    OverloadedStrings
  default-extensions:  ForeignFunctionInterface