packages feed

hasql-th-0.5: hasql-th.cabal

cabal-version: 3.0
name: hasql-th
version: 0.5
category: Hasql, Database, PostgreSQL, Template Haskell
synopsis: Template Haskell utilities for Hasql
description:
  Extension-library for Hasql,
  bringing compile-time syntax checking,
  great simplification of declaration of statements and
  other TemplateHaskell-based utilities.

  For details please see <https://github.com/nikita-volkov/hasql-th the readme>.

homepage: https://github.com/nikita-volkov/hasql-th
bug-reports: https://github.com/nikita-volkov/hasql-th/issues
author: Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer: Nikita Volkov <nikita.y.volkov@mail.ru>
copyright: (c) 2015, Nikita Volkov
license: MIT
license-file: LICENSE

source-repository head
  type: git
  location: https://github.com/nikita-volkov/hasql-th

common base
  default-language: Haskell2010
  default-extensions:
    ApplicativeDo
    Arrows
    BangPatterns
    ConstraintKinds
    DataKinds
    DefaultSignatures
    DeriveDataTypeable
    DeriveFoldable
    DeriveFunctor
    DeriveGeneric
    DeriveTraversable
    DuplicateRecordFields
    EmptyDataDecls
    FlexibleContexts
    FlexibleInstances
    FunctionalDependencies
    GADTs
    GeneralizedNewtypeDeriving
    LambdaCase
    LiberalTypeSynonyms
    MagicHash
    MultiParamTypeClasses
    MultiWayIf
    NoImplicitPrelude
    NoMonomorphismRestriction
    OverloadedStrings
    ParallelListComp
    PatternGuards
    QuasiQuotes
    RankNTypes
    RecordWildCards
    ScopedTypeVariables
    StandaloneDeriving
    TemplateHaskell
    TupleSections
    TypeFamilies
    TypeOperators
    UnboxedTuples

common executable
  import: base
  ghc-options:
    -O2
    -threaded
    -with-rtsopts=-N
    -rtsopts
    -funbox-strict-fields

common test
  import: base
  ghc-options:
    -threaded
    -with-rtsopts=-N

library
  import: base
  hs-source-dirs: src/library
  exposed-modules: Hasql.TH
  other-modules:
    Hasql.TH.Construction.Exp
    Hasql.TH.Extraction.ChildExprList
    Hasql.TH.Extraction.Exp
    Hasql.TH.Extraction.InputTypeList
    Hasql.TH.Extraction.OutputTypeList
    Hasql.TH.Extraction.PlaceholderTypeMap
    Hasql.TH.Extraction.PrimitiveType
    Hasql.TH.Prelude

  build-depends:
    base >=4.11 && <5,
    containers >=0.6 && <0.9,
    contravariant >=1.5.2 && <2,
    foldl >=1.4.5 && <2,
    hasql >=1.10 && <1.11,
    postgresql-syntax >=0.4.1 && <0.5,
    template-haskell >=2.8 && <3,
    template-haskell-compat-v0208 >=0.1.9 && <0.2,
    text >=1 && <3,
    uuid >=1.3 && <2,
    vector >=0.12 && <0.14,