packages feed

clickhouse-haskell-0.1.2.2: clickhouse-haskell.cabal

cabal-version:  1.12
name:           clickhouse-haskell
version:        0.1.2.2
synopsis:       A Haskell library as database client for Clickhouse
homepage:       https://github.com/2049foundation/clickhouse-haskell/
bug-reports:    https://github.com/2049foundation/clickhouse-haskell/issues
author:         Shi You
maintainer:     youshi@emqx.io
copyright:      Copyright (c) 2020-present, EMQ X, Inc.
category:       Database
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md
description:    
  Clickhouse-Haskell is a library for making connection with the server of
  column-oriented DBMS, Clickhouse. This library supports SELECT, INSERT and other query commands.

  Clickhouse-Haskell is also implemented with Haxl, an concurrent data accessing API developed by Facebook,
  for efficient interaction with the server.

  For more detail, see: https://github.com/2049foundation/clickhouse-haskell#readme

source-repository head
  type: git
  location: https://github.com/2049foundation/clickhouse-haskell

library
  exposed-modules:
      Database.ClickHouseDriver
      Database.ClickHouseDriver.HTTP
      Database.ClickHouseDriver.HTTP.Helpers
      Database.ClickHouseDriver.HTTP.Client
      Database.ClickHouseDriver.HTTP.Types
      Database.ClickHouseDriver.HTTP.Connection
      Database.ClickHouseDriver.Error
      Database.ClickHouseDriver.QueryProcessingStage
      Database.ClickHouseDriver.Defines
      Database.ClickHouseDriver.ServerProtocol
      Database.ClickHouseDriver.ClientProtocol
      Database.ClickHouseDriver.Block
      Database.ClickHouseDriver.Client
      Database.ClickHouseDriver.Connection
      Database.ClickHouseDriver.Types
      Database.ClickHouseDriver.Column
      Database.ClickHouseDriver.IO.BufferedWriter
      Database.ClickHouseDriver.IO.BufferedReader
      Database.ClickHouseDriver.Pool
  other-modules:
      Paths_clickhouse_haskell
  hs-source-dirs:
      src
  build-depends:
    base                              >=4.12 && <5,
    containers                        >= 0.5.7 && < 0.6,
    array                             >= 0.5.1 && < 0.6,
    time                              >= 1.9 && < 1.12,
    transformers                      >= 0.5.2 && < 0.6,
    aeson                             >= 1.4.1 && < 1.6,
    attoparsec                        >= 0.13.2 && < 0.14,
    bytestring                        >= 0.10.8 && < 0.11,
    binary                            >= 0.8.3 && < 0.9,
    hashable                          >= 1.2.7 && < 1.4,
    text                              >= 1.2.3 && < 1.3,
    unordered-containers              >= 0.2.13 && < 0.3,
    vector                            >= 0.12.1 && < 0.13,
    async                             >= 2.2.2 && < 2.3,
    bytestring-to-vector              >= 0.3.0 && < 0.4,
    call-stack                        >= 0.2.0 && < 0.3,
    data-default-class                >= 0.1.2 && < 0.2,
    data-dword                        >= 0.3.2 && < 0.4,
    exceptions                        >= 0.10.4 && < 0.11,
    mtl                               >= 2.2.2 && < 2.3,
    filepath                          >= 1.4.1 && < 1.5,
    hashmap                           >= 1.3.3 && < 1.4,
    haxl                              >= 2.3.0 && < 2.4,
    http-client                       >= 0.6.4 && < 0.7,
    network                           >= 3.1.0 && < 3.2,
    parsec                            >= 3.1.14 && < 3.2,
    streaming-commons                 >= 0.2.2 && < 0.3,
    io-streams                        >= 1.5.2 && < 1.6,
    monad-loops                       >= 0.4.3 && < 0.5,
    monad-parallel                    >= 0.7.2 && < 0.8,
    network-ip                        >= 0.3.0 && < 0.4,
    split                             >= 0.2.3 && < 0.3,
    network-simple                    >= 0.4.5 && < 0.5,
    resource-pool                     >= 0.2.3 && < 0.3,
    tz                                >= 0.1.3 && < 0.2,
    unix-time                         >= 0.4.7 && < 0.5,
    uri-encode                        >= 1.5.0 && < 1.6,
    uuid                              >= 1.3.13 && < 1.4,
    word8                             >= 0.1.3 && < 0.2
  default-language: Haskell2010
  c-sources: ./src/Database/ClickHouseDriver/CBits/varuint.c
           , ./src/Database/ClickHouseDriver/CBits/datetime.c
           , ./src/Database/ClickHouseDriver/CBits/bigint.c
  include-dirs: ./src/Database/ClickHouseDriver/Include 
  includes: varuint.h
          , datetime.h
          , bigint.h
  install-includes: varuint.h
                  , datetime.h
                  , bigint.h

test-suite clickhouse-haskell-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Test.IO
      Test.ColumnSpec
      Test.HTTPSpec
      Paths_clickhouse_haskell
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
    clickhouse-haskell,               
    base                              >= 4.12 && <5,
    QuickCheck                        >= 2.13 && <3,
    hspec                             >= 2.0 && <3,
    HUnit                             >= 1.6 && <1.7,
    containers                        >= 0.5.7 && < 0.6,
    array                             >= 0.5.1 && < 0.6,
    time                              >= 1.9 && < 1.12,
    transformers                      >= 0.5.2 && < 0.6,
    aeson                             >= 1.4.1 && < 1.6,
    attoparsec                        >= 0.13.2 && < 0.14,
    bytestring                        >= 0.10.8 && < 0.11,
    binary                            >= 0.8.3 && < 0.9,
    hashable                          >= 1.2.7 && < 1.4,
    text                              >= 1.2.4 && < 1.3,
    unordered-containers              >= 0.2.13 && < 0.3,
    vector                            >= 0.12.1 && < 0.13,
    async                             >= 2.2.2 && < 2.3,
    bytestring-to-vector              >= 0.3.0 && < 0.4,
    call-stack                        >= 0.2.0 && < 0.3,
    data-default-class                >= 0.1.2 && < 0.2,
    data-dword                        >= 0.3.2 && < 0.4,
    exceptions                        >= 0.10.4 && < 0.11,
    mtl                               >= 2.2.2 && < 2.3,
    filepath                          >= 1.4.1 && < 1.5,
    hashmap                           >= 1.3.3 && < 1.4,
    haxl                              >= 2.3.0 && < 2.4,
    http-client                       >= 0.6.4 && < 0.7,
    network                           >= 3.1.0 && < 3.2,
    parsec                            >= 3.1.14 && < 3.2,
    streaming-commons                 >= 0.2.2 && < 0.3,
    io-streams                        >= 1.5.2 && < 1.6,
    monad-loops                       >= 0.4.3 && < 0.5,
    monad-parallel                    >= 0.7.2 && < 0.8,
    network-ip                        >= 0.3.0 && < 0.4,
    split                             >= 0.2.3 && < 0.3,
    network-simple                    >= 0.4.5 && < 0.5,
    resource-pool                     >= 0.2.3 && < 0.3,
    tz                                >= 0.1.3 && < 0.2,
    unix-time                         >= 0.4.7 && < 0.5,
    uri-encode                        >= 1.5.0 && < 1.6,
    uuid                              >= 1.3.13 && < 1.4,
    word8                             >= 0.1.3 && < 0.2
  default-language: Haskell2010