packages feed

ClickHaskell-1.1.0: ClickHaskell.cabal

Cabal-version: 3.0


Name:           ClickHaskell
Version:        1.1.0

Author:         Kovalev Dmitry
Maintainer:     Kovalev Dmitry
Category:       ClickHouse
Synopsis:       ClickHouse driver
Description:    Small dependency footprint highlevel ClickHouse driver 
Tested-with:    GHC == 9.4.8, GHC == 9.6.7, GHC == 9.8.4, GHC == 9.10.3, GHC == 9.12.2
Homepage:       https://clickhaskell.dev/
Bug-reports:    https://git.clickhaskell.dev/
License:        BSD-3-Clause
License-File:   LICENSE
Copyright:      2023 Kovalev Dmitry
Build-Type:     Simple

extra-doc-files:
  README.md
  ChangeLog.md

Source-repository head
  Type: git
  Location: https://github.com/KovalevDima/ClickHaskell

Flag dev
  Description: Dumps Core representation
  Default:     False
  Manual:      True

Library
  Exposed-Modules:
    ClickHaskell
    ClickHaskell.Protocol
  Other-Modules:
    ClickHaskell.Connection
    ClickHaskell.Protocol.Client
    ClickHaskell.Protocol.Data
    ClickHaskell.Protocol.Server
    ClickHaskell.Protocol.Settings
    ClickHaskell.Primitive
    ClickHaskell.Primitive.Serialization
    ClickHaskell.Primitive.TArray
    ClickHaskell.Primitive.TBool
    ClickHaskell.Primitive.TDate
    ClickHaskell.Primitive.TDateTime
    ClickHaskell.Primitive.TDecimal
    ClickHaskell.Primitive.TEnum
    ClickHaskell.Primitive.TFloat
    ClickHaskell.Primitive.TInt
    ClickHaskell.Primitive.TLowCardinality
    ClickHaskell.Primitive.TNullable
    ClickHaskell.Primitive.TString
    ClickHaskell.Primitive.TUInt
    ClickHaskell.Primitive.TUUID
    ClickHaskell.Statements
  HS-Source-Dirs:
    ./
  GHC-Options:
    -Wall
    -Wunused-packages

  Build-depends:
    -- GHC included libraries
      base >= 4.7 && <5
    , bytestring < 1
    , binary < 9
    , deepseq < 2
    , time < 2

    -- External dependencies
    , network < 4
    , wide-word >= 0.1.9 && < 1
  ghc-options:
    -Wno-unticked-promoted-constructors
    -Wno-dodgy-imports
  if flag(dev)
    GHC-Options:
      -ddump-to-file
      -ddump-timings
      -ddump-simpl
      -ddump-spec
      -ddump-simpl-stats
      -ddump-rule-firings
      -dsuppress-all
      -dsuppress-uniques
    if impl(ghc >= 9.4)
      ghc-options:
        -dlint
        -dno-suppress-core-sizes

  default-language: Haskell2010
  default-extensions:
    AllowAmbiguousTypes
    BangPatterns
    ConstraintKinds
    DataKinds
    DefaultSignatures
    DeriveAnyClass
    DeriveGeneric
    DerivingStrategies
    DuplicateRecordFields
    FunctionalDependencies
    GADTs
    GeneralizedNewtypeDeriving
    ImportQualifiedPost
    FlexibleContexts
    FlexibleInstances
    MultiParamTypeClasses
    NamedFieldPuns
    NumericUnderscores
    OverloadedStrings
    RecordWildCards
    TupleSections
    TypeApplications
    TypeFamilies
    TypeOperators
    ScopedTypeVariables
    StandaloneDeriving
    UndecidableInstances