name:
  hasql-postgres
version:
  0.5.0
synopsis:
  A "PostgreSQL" backend for the "hasql" library
description:
  This library provides a \"PostgreSQL\" driver for 
  <http://hackage.haskell.org/package/hasql the "hasql" library>.
  .
  It's tested against Postgres versions 8.3 and 9.3
  with the @integer_datetimes@ setting off and on.
  .
  According to the included benchmarks,
  it performs up to 2x faster than \"postgresql-simple\" and
  up to 7x faster than \"HDBC\".
  You can read up
  <http://nikita-volkov.github.io/hasql-benchmarks/ a post with analysis of those benchmarks>.
category:
  Database
homepage:
  https://github.com/nikita-volkov/hasql-postgres 
bug-reports:
  https://github.com/nikita-volkov/hasql-postgres/issues 
author:
  Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer:
  Nikita Volkov <nikita.y.volkov@mail.ru>
copyright:
  (c) 2014, Nikita Volkov
license:
  MIT
license-file:
  LICENSE
build-type:
  Simple
cabal-version:
  >=1.10


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


library
  hs-source-dirs:
    library
  ghc-options:
    -funbox-strict-fields
  default-extensions:
    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
  default-language:
    Haskell2010
  other-modules:
    Hasql.Postgres.Prelude
    Hasql.Postgres.ErrorCode
    Hasql.Postgres.PTI
    Hasql.Postgres.Mapping
    Hasql.Postgres.Statement
    Hasql.Postgres.StatementPreparer
    Hasql.Postgres.TemplateConverter
    Hasql.Postgres.TemplateConverter.Parser
    Hasql.Postgres.ResultHandler
    Hasql.Postgres.Connector
    Hasql.Postgres.ResultParser
  exposed-modules:
    Hasql.Postgres
  build-depends:
    -- template haskell:
    template-haskell == 2.*,
    -- parsers:
    attoparsec == 0.12.*,
    -- database:
    hasql-backend == 0.1.*,
    postgresql-binary == 0.3.*,
    postgresql-libpq == 0.9.*,
    -- data:
    uuid == 1.3.*,
    vector == 0.10.*,
    time >= 1.4 && < 1.6,
    hashtables == 1.1.*,
    scientific == 0.3.*,
    text >= 1 && < 1.3,
    bytestring >= 0.10.4.0 && < 0.11,
    hashable == 1.2.*,
    -- control:
    either == 4.*,
    list-t >= 0.2.3 && < 0.3,
    -- errors:
    loch-th == 0.2.*,
    placeholders == 0.1.*,
    -- general:
    mtl-prelude < 3,
    base-prelude >= 0.1.3 && < 0.2,
    base >= 4.5 && < 4.8


test-suite library-tests
  type:             
    exitcode-stdio-1.0
  hs-source-dirs:   
    library-tests
    library
  main-is:          
    Main.hs
  ghc-options:
    -threaded
    "-with-rtsopts=-N"
    -funbox-strict-fields
  default-extensions:
    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
  default-language:
    Haskell2010
  build-depends:
    -- testing:
    HTF == 0.12.*,
    quickcheck-instances == 0.3.*,
    QuickCheck == 2.7.*,
    HUnit == 1.2.*,
    -- template haskell:
    template-haskell == 2.*,
    -- parsers:
    attoparsec == 0.12.*,
    -- database:
    hasql >= 0.1.4 && < 0.2,
    postgresql-binary == 0.3.*,
    postgresql-libpq == 0.9.*,
    -- data:
    uuid == 1.3.*,
    vector == 0.10.*,
    time >= 1.4 && < 1.6,
    hashtables == 1.1.*,
    scientific == 0.3.*,
    text >= 1 && < 1.3,
    bytestring >= 0.10.4.0 && < 0.11,
    hashable == 1.2.*,
    -- control:
    either == 4.*,
    list-t >= 0.2.3 && < 0.3,
    -- errors:
    loch-th == 0.2.*,
    placeholders == 0.1.*,
    -- general:
    mtl-prelude < 3,
    base-prelude >= 0.1.3 && < 0.2,
    base >= 4.5 && < 4.8


test-suite tests
  type:             
    exitcode-stdio-1.0
  hs-source-dirs:   
    tests
  main-is:          
    Main.hs
  ghc-options:
    -threaded
    "-with-rtsopts=-N"
    -funbox-strict-fields
  default-extensions:
    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
  default-language:
    Haskell2010
  build-depends:
    hasql-postgres,
    hasql-backend,
    hasql >= 0.1.4 && < 0.2,
    -- testing:
    HTF == 0.12.*,
    quickcheck-instances == 0.3.*,
    QuickCheck == 2.7.*,
    HUnit == 1.2.*,
    -- concurrency:
    SafeSemaphore == 0.10.*,
    slave-thread == 0.1.*,
    -- data:
    vector == 0.10.*,
    old-locale == 1.0.*,
    time >= 1.4 && < 1.6,
    scientific == 0.3.*,
    text >= 1 && < 1.3,
    bytestring >= 0.10.4.0 && < 0.11,
    hashable == 1.2.*,
    -- general:
    list-t == 0.2.*,
    mtl-prelude < 3,
    base-prelude >= 0.1.3 && < 0.2,
    base >= 4.5 && < 4.8


benchmark competition
  type: 
    exitcode-stdio-1.0
  hs-source-dirs:
    competition
  main-is:
    Main.hs
  ghc-options:
    -O2
    -threaded
    "-with-rtsopts=-N"
    -funbox-strict-fields
  default-extensions:
    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
  default-language:
    Haskell2010
  build-depends:
    HDBC == 2.4.*,
    HDBC-postgresql == 2.3.*,
    postgresql-simple == 0.4.*,
    hasql-postgres,
    hasql-backend,
    hasql >= 0.1.4 && < 0.2,
    -- random:
    QuickCheck == 2.7.*,
    quickcheck-instances == 0.3.*,
    -- benchmarking:
    criterion-plus == 0.1.*,
    -- data:
    vector == 0.10.*,
    time >= 1.4 && < 1.6,
    text >= 1 && < 1.3,
    scientific == 0.3.*,
    -- general:
    monad-control == 0.3.*,
    deepseq == 1.3.*,
    list-t == 0.2.*,
    mtl-prelude < 3,
    base-prelude >= 0.1.3 && < 0.2,
    base >= 4.5 && < 4.8