packages feed

preql-0.6: preql.cabal

cabal-version: 1.18

-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: f4dbe72a66bc70347b232733521f1dc19162d6cae9eb9467c4f262693e91d5b2

name:           preql
version:        0.6
synopsis:       safe PostgreSQL queries using Quasiquoters
description:    Before you Post(gres)QL, preql.
                .
                @preql@ provides an effect type class `SQL`, a `select` quasiquoter
                that checks SQL syntax at compile time, and a `sql` quasiquoter that
                supports variable antiquotes, but does not attempt syntax
                validation.
                .
                For more details, read
                the [quickstart](https://github.com/bergey/preql#quickstart) 
                or the [vision](https://github.com/bergey/preql#vision-parsing-sql-in-haskell-quasiquotes)
                .
                Most applications will want to import the top-level module @Preql@.  When writing @SQL@
                instances or your own higher-level abstractions, you may want the lower-level,
                IO-specific functions in @Preql.Wire@, not all of which are re-exported from @Preql@.
                .
category:       Database, PostgreSQL
homepage:       https://github.com/bergey/preql#readme
bug-reports:    https://github.com/bergey/preql/issues
author:         Daniel Bergey
maintainer:     bergey@teallabs.org
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-doc-files:
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/bergey/preql

library
  exposed-modules:
      Preql
      Preql.Effect
      Preql.Effect.Internal
      Preql.FromSql
      Preql.FromSql.Class
      Preql.FromSql.Instances
      Preql.FromSql.TH
      Preql.FromSql.Tuple
      Preql.Imports
      Preql.QuasiQuoter.Common
      Preql.QuasiQuoter.Raw.Lex
      Preql.QuasiQuoter.Raw.TH
      Preql.QuasiQuoter.Syntax.Lex
      Preql.QuasiQuoter.Syntax.Name
      Preql.QuasiQuoter.Syntax.Params
      Preql.QuasiQuoter.Syntax.Parser
      Preql.QuasiQuoter.Syntax.Printer
      Preql.QuasiQuoter.Syntax.Syntax
      Preql.QuasiQuoter.Syntax.TH
      Preql.Wire
      Preql.Wire.Errors
      Preql.Wire.Internal
      Preql.Wire.Orphans
      Preql.Wire.Query
      Preql.Wire.ToSql
      Preql.Wire.Tuples
      Preql.Wire.TypeInfo.Static
      Preql.Wire.TypeInfo.Types
      Preql.Wire.Types
  other-modules:
      Paths_preql
  hs-source-dirs:
      src
  default-extensions: OverloadedStrings DataKinds
  build-tools:
      alex
    , happy
  build-depends:
      aeson >=1.4.7.1
    , array >=0.5.4.0
    , base >=4.13.0.0 && <5.0
    , binary-parser >=0.5.6
    , bytestring >=0.10.10.0
    , bytestring-strict-builder >=0.4.5.3
    , contravariant >=1.5.2
    , mtl >=2.2.2
    , postgresql-binary >=0.12.2
    , postgresql-libpq >=0.9.4.2
    , scientific >=0.3.6.2
    , syb >=0.7.1
    , template-haskell >=2.15.0.0
    , text >=1.2.3.2
    , th-lift-instances >=0.1.17
    , time >=1.9.3
    , transformers >=0.5.6.2
    , unordered-containers
    , uuid >=1.3.13
    , vector >=0.12.1.2
    , vector-sized >=1.4.1
  default-language: Haskell2010

test-suite tests
  type: exitcode-stdio-1.0
  main-is: Test.hs
  other-modules:
      Test.Syntax.Generators
      Test.Syntax.Parser
      Test.Syntax.Printer
      Test.Syntax.RoundTrip
      Test.Wire
      Test.Wire.Enum
      Paths_preql
  hs-source-dirs:
      test
  default-extensions: OverloadedStrings DataKinds
  build-tools:
      alex
    , happy
  build-depends:
      aeson >=1.4.7.1
    , array >=0.5.4.0
    , base >=4.13.0.0 && <5.0
    , binary-parser >=0.5.6
    , bytestring >=0.10.10.0
    , bytestring-strict-builder >=0.4.5.3
    , containers >=0.6.2.1
    , contravariant >=1.5.2
    , generic-random
    , hedgehog >=1.0.3
    , mtl >=2.2.2
    , postgresql-binary >=0.12.2
    , postgresql-libpq >=0.9.4.2
    , preql
    , scientific >=0.3.6.2
    , syb >=0.7.1
    , tasty >=1.2.3
    , tasty-hedgehog >=1.0
    , tasty-hunit >=0.10.0
    , template-haskell >=2.15.0.0
    , text >=1.2.3.2
    , th-lift-instances >=0.1.17
    , time >=1.9.3
    , transformers >=0.5.6.2
    , unordered-containers
    , uuid >=1.3.13
    , vector >=0.12.1.2
    , vector-sized >=1.4.1
  default-language: Haskell2010

benchmark pgbench
  type: exitcode-stdio-1.0
  main-is: Bench.hs
  other-modules:
      Paths_preql
  hs-source-dirs:
      benchmark
  default-extensions: OverloadedStrings DataKinds
  build-tools:
      alex
    , happy
  build-depends:
      aeson >=1.4.7.1
    , array >=0.5.4.0
    , base >=4.13.0.0 && <5.0
    , binary-parser >=0.5.6
    , bytestring >=0.10.10.0
    , bytestring-strict-builder >=0.4.5.3
    , contravariant >=1.5.2
    , criterion
    , deepseq
    , mtl >=2.2.2
    , postgresql-binary >=0.12.2
    , postgresql-libpq >=0.9.4.2
    , preql
    , scientific >=0.3.6.2
    , syb >=0.7.1
    , template-haskell >=2.15.0.0
    , text >=1.2.3.2
    , th-lift-instances >=0.1.17
    , time >=1.9.3
    , transformers >=0.5.6.2
    , unordered-containers
    , uuid >=1.3.13
    , vector >=0.12.1.2
    , vector-sized >=1.4.1
  default-language: Haskell2010