packages feed

hasql-postgres-0.1.1: hasql-postgres.cabal

name:
  hasql-postgres
version:
  0.1.1
synopsis:
  A "PostgreSQL" driver for the "hasql" library
description:
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.Renderer
    Hasql.Postgres.ErrorCode
    Hasql.Postgres.OID
    Hasql.Postgres.Statement
    Hasql.Postgres.Parser
    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:
    -- parsers:
    attoparsec == 0.12.*,
    -- database:
    hasql-backend == 0.1.*,
    postgresql-libpq == 0.9.*,
    -- data:
    vector == 0.10.*,
    old-locale == 1.0.*,
    time == 1.4.*,
    hashtables == 1.1.*,
    scientific == 0.3.*,
    text >= 1 && < 1.3,
    bytestring >= 0.10.4.0 && < 0.11,
    hashable == 1.2.*,
    -- control:
    mmorph == 1.0.*,
    list-t >= 0.2.3 && < 0.3,
    -- errors:
    loch-th == 0.2.*,
    placeholders == 0.1.*,
    -- general:
    mtl-prelude == 2.0.*,
    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.*,
    -- parsers:
    attoparsec == 0.12.*,
    -- database:
    hasql == 0.1.*,
    postgresql-libpq == 0.9.*,
    -- data:
    vector == 0.10.*,
    utf8-string >= 0.3.8 && < 0.4,
    old-locale == 1.0.*,
    time == 1.4.*,
    hashtables == 1.1.*,
    Decimal == 0.4.*,
    scientific == 0.3.*,
    text >= 1 && < 1.3,
    bytestring >= 0.10.4.0 && < 0.11,
    hashable == 1.2.*,
    -- control:
    mmorph == 1.0.*,
    list-t >= 0.2.3 && < 0.3,
    -- errors:
    loch-th == 0.2.*,
    placeholders == 0.1.*,
    -- general:
    mtl-prelude == 2.0.*,
    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.*,
    -- testing:
    HTF == 0.12.*,
    quickcheck-instances == 0.3.*,
    QuickCheck == 2.7.*,
    HUnit == 1.2.*,
    -- concurrency:
    SafeSemaphore == 0.10.*,
    slave-thread == 0.1.*,
    -- data:
    old-locale == 1.0.*,
    time == 1.4.*,
    scientific == 0.3.*,
    text >= 1 && < 1.3,
    bytestring >= 0.10.4.0 && < 0.11,
    hashable == 1.2.*,
    -- general:
    list-t == 0.2.*,
    mtl-prelude == 2.0.*,
    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:
    postgresql-simple == 0.4.*,
    hasql-postgres,
    hasql-backend,
    hasql == 0.1.*,
    -- random:
    QuickCheck == 2.7.*,
    quickcheck-instances == 0.3.*,
    -- benchmarking:
    criterion-plus == 0.1.*,
    -- data:
    vector == 0.10.*,
    time == 1.4.*,
    text >= 1 && < 1.3,
    scientific == 0.3.*,
    -- general:
    list-t == 0.2.*,
    mtl-prelude == 2.0.*,
    base-prelude >= 0.1.3 && < 0.2,
    base >= 4.5 && < 4.8


benchmark profiling
  type: 
    exitcode-stdio-1.0
  hs-source-dirs:
    profiling
  main-is:
    Main.hs
  ghc-options:
    -O2
    -threaded
    "-with-rtsopts=-N"
    -funbox-strict-fields
    -fprof-auto
    "-with-rtsopts=-N -p -s -h -i0.1"
  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:
    postgresql-simple == 0.4.*,
    hasql-postgres,
    hasql-backend,
    hasql == 0.1.*,
    -- random:
    QuickCheck == 2.7.*,
    quickcheck-instances == 0.3.*,
    -- data:
    vector == 0.10.*,
    time == 1.4.*,
    text >= 1 && < 1.3,
    scientific == 0.3.*,
    -- general:
    list-t == 0.2.*,
    mtl-prelude == 2.0.*,
    base-prelude >= 0.1.3 && < 0.2,
    base >= 4.5 && < 4.8