packages feed

preql-0.4: 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: 879f97b745bc46aaf20841fb18d7111d51a84fb4a3194c782f7e99c972a8ead3

name:           preql
version:        0.4
synopsis:       safe PostgreSQL queries using Quasiquoters
description:    Before you Post(gres)QL, preql.
                .
                @preql@ provides a low-level interface to PostgreSQL and a quasiquoter that converts
                inline variable names to SQL parameters.  Higher-level interfaces, checking SQL syntax &
                schema, are planned.
                .
                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.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.Decode
      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 && <1.5.6
    , array >=0.5.4.0 && <0.5.5
    , base >=4.13.0.0 && <4.15
    , binary-parser >=0.5.6 && <0.6
    , bytestring >=0.10.10.0 && <0.10.13
    , bytestring-strict-builder >=0.4.5.3 && <0.4.6
    , contravariant >=1.5.2 && <1.5.4
    , mtl >=2.2.2 && <2.2.3
    , postgresql-binary >=0.12.2 && <0.12.4
    , postgresql-libpq >=0.9.4.2 && <0.9.5
    , scientific >=0.3.6.2 && <0.3.7
    , syb >=0.7.1 && <0.7.2
    , template-haskell >=2.15.0.0 && <2.17
    , text >=1.2.3.2 && <1.2.5
    , th-lift-instances >=0.1.17 && <0.1.19
    , time >=1.9.3 && <1.9.4
    , transformers >=0.5.6.2 && <0.5.7
    , uuid >=1.3.13 && <1.3.14
    , vector >=0.12.1.2 && <0.12.2
    , vector-sized >=1.4.1 && <1.4.4
  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 && <1.5.6
    , array >=0.5.4.0 && <0.5.5
    , base >=4.13.0.0 && <4.15
    , binary-parser >=0.5.6 && <0.6
    , bytestring >=0.10.10.0 && <0.10.13
    , bytestring-strict-builder >=0.4.5.3 && <0.4.6
    , containers >=0.6.2.1
    , contravariant >=1.5.2 && <1.5.4
    , generic-random <1.3.1
    , hedgehog >=1.0.3
    , mtl >=2.2.2 && <2.2.3
    , postgresql-binary >=0.12.2 && <0.12.4
    , postgresql-libpq >=0.9.4.2 && <0.9.5
    , preql
    , scientific >=0.3.6.2 && <0.3.7
    , syb >=0.7.1 && <0.7.2
    , tasty >=1.2.3 && <1.4.1
    , tasty-hedgehog >=1.0
    , tasty-hunit >=0.10.0 && <0.10.1
    , template-haskell >=2.15.0.0 && <2.17
    , text >=1.2.3.2 && <1.2.5
    , th-lift-instances >=0.1.17 && <0.1.19
    , time >=1.9.3 && <1.9.4
    , transformers >=0.5.6.2 && <0.5.7
    , uuid >=1.3.13 && <1.3.14
    , vector >=0.12.1.2 && <0.12.2
    , vector-sized >=1.4.1 && <1.4.4
  default-language: Haskell2010