packages feed

zoovisitor-0.2.1.2: zoovisitor.cabal

cabal-version:      2.2
name:               zoovisitor
version:            0.2.1.2
synopsis:
  A haskell binding to Apache Zookeeper C library(mt) using Haskell Z project.

description:
  Please see the README on Github at <https://github.com/ZHaskell/zoovisitor#readme>

license:            BSD-3-Clause
license-file:       LICENSE
copyright:          Copyright (c)
author:             mu
maintainer:         mu@laxcat.xyz
tested-with:        GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.5
category:           Database
homepage:           https://github.com/ZHaskell/zoovisitor
bug-reports:        https://github.com/ZHaskell/zoovisitor/issues
build-type:         Simple
extra-source-files:
  ChangeLog.md
  include/hs_zk.h
  LICENSE_ZOOKEEPER
  README.md

source-repository head
  type:     git
  location: https://github.com/ZHaskell/zoovisitor

library
  hs-source-dirs:     src
  exposed-modules:
    ZooKeeper
    ZooKeeper.Exception
    ZooKeeper.Recipe
    ZooKeeper.Types

  other-modules:
    ZooKeeper.Internal.FFI
    ZooKeeper.Internal.Types
    ZooKeeper.Recipe.Election
    ZooKeeper.Recipe.Lock
    ZooKeeper.Recipe.Utils

  build-depends:
    , base    >=4.12  && <5
    , Z-Data  >=0.7.2 && <1.2 || ^>=2.0
    , Z-IO    >=0.7   && <1.1 || ^>=2.0

  includes:           hs_zk.h
  c-sources:          cbits/hs_zk.c
  include-dirs:       include /usr/local/include
  build-tool-depends: hsc2hs:hsc2hs
  extra-libraries:    zookeeper_mt
  default-language:   Haskell2010
  default-extensions:
    BangPatterns
    ConstraintKinds
    DeriveGeneric
    DerivingStrategies
    EmptyDataDeriving
    ExistentialQuantification
    GADTSyntax
    GeneralisedNewtypeDeriving
    MagicHash
    OverloadedStrings
    PatternSynonyms
    PolyKinds
    RankNTypes
    RecordWildCards
    ScopedTypeVariables
    StandaloneDeriving
    TypeApplications
    TypeOperators

  ghc-options:
    -Wall -Wcompat -Widentities -Wincomplete-record-updates
    -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints

test-suite zoovisitor-test
  type:             exitcode-stdio-1.0
  main-is:          Spec.hs
  hs-source-dirs:   test
  build-depends:
    , async
    , base        >=4.12 && <5
    , hspec
    , uuid
    , Z-Data
    , zoovisitor

  default-language: Haskell2010
  ghc-options:
    -Wall -Wcompat -Widentities -Wincomplete-record-updates
    -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints
    -threaded -rtsopts -with-rtsopts=-N