packages feed

dsh-sql-0.2.0.1: dsh-sql.cabal

Name:                dsh-sql
Version:             0.2.0.1
Synopsis:            SQL backend for Database Supported Haskell (DSH)
Description:
  This package provides an SQL backend for Database Supported Haskell
  (DSH). It provides the ability to generate SQL code and execute DSH
  queries on supported SQL database engines. Currently, only
  PostgreSQL is supported.

License:             BSD3
License-file:        LICENSE
Author:              Alexander Ulrich
Maintainer:          alex@etc-network.de
Stability:           Experimental
Category:            Database
Build-type:          Simple

Extra-source-files:  README.md

Cabal-version:       >= 1.8

Flag debuggraph
  Description: Print debugging information for graph rewrites (TA)
  Default:     False

Library
  Extensions:        CPP
  Build-depends:
                       DSH                >= 0.12
                     , random             >= 1.1
                     , process            >= 1.2
                     , Decimal            >= 0.4
                     , HDBC               >= 2.4.0.1
                     , HDBC-odbc          >= 2.4
                     , aeson              >= 0.8
                     , algebra-dag        >= 0.1
                     , algebra-sql        >= 0.3
                     , base               >= 4.8 && < 5
                     , bytestring         >= 0.10
                     , bytestring-lexing  >= 0.4
                     , containers         >= 0.5
                     , either             >= 4.0
                     , mtl                >= 2.1
                     , semigroups         >= 0.16
                     , set-monad          >= 0.1
                     , template-haskell   >= 2.9
                     , text               >= 1.1
                     , vector             >= 0.10

  Hs-source-dirs:    src

  if flag(debuggraph)
    CPP-Options:     -DDEBUGGRAPH

  GHC-Options:       -Wall -fno-warn-orphans -fprof-auto

  Exposed-modules:   Database.DSH.Backend.Sql

  Other-modules:     Database.DSH.Backend.Sql.Opt.Properties.BottomUp
                     Database.DSH.Backend.Sql.Opt.Properties.TopDown
                     Database.DSH.Backend.Sql.Opt.Properties.Types
                     Database.DSH.Backend.Sql.Opt.Properties.Cols
                     Database.DSH.Backend.Sql.Opt.Properties.Nullable
                     Database.DSH.Backend.Sql.Opt.Properties.FD
                     Database.DSH.Backend.Sql.Opt.Properties.ICols
                     Database.DSH.Backend.Sql.Opt.Properties.Auxiliary
                     Database.DSH.Backend.Sql.Opt.Properties.Empty
                     Database.DSH.Backend.Sql.Opt.Properties.Card1
                     Database.DSH.Backend.Sql.Opt.Properties.Keys
                     Database.DSH.Backend.Sql.Opt.Properties.Order
                     Database.DSH.Backend.Sql.Opt.Properties.Const
                     Database.DSH.Backend.Sql.Opt.Rewrite.Basic
                     Database.DSH.Backend.Sql.Opt.Rewrite.Common
                     Database.DSH.Backend.Sql.Opt.OptimizeTA
                     Database.DSH.Backend.Sql.VectorAlgebra
                     Database.DSH.Backend.Sql.Vector

Executable sqltests
    Hs-Source-Dirs : testsuite
    Main-is:       Main.hs
    Build-depends:
                     DSH                        >= 0.10
                   , HDBC                       >= 2.4.0.1
                   , HDBC-odbc                  >= 2.4
                   , HUnit                      >= 1.2
                   , QuickCheck                 >= 2.4
                   , base                       >= 4.8 && < 5
                   , bytestring                 >= 0.10
                   , bytestring-lexing          >= 0.4
                   , containers                 >= 0.5
                   , dsh-sql                    >= 0.1
                   , test-framework             >= 0.6
                   , test-framework-hunit       >= 0.3
                   , test-framework-quickcheck2 >= 0.2
                   , text                       >= 1.1
                   , vector                     >= 0.10
    GHC-Options: -Wall -fno-warn-orphans
    Extensions: CPP

source-repository head
    type:     git
    location: https://github.com/ulricha/dsh-sql