packages feed

hasql-cursor-query-0.4: hasql-cursor-query.cabal

name:
  hasql-cursor-query
version:
  0.4
category:
  Hasql, Database, PostgreSQL, Streaming
synopsis:
  A declarative abstraction over PostgreSQL Cursor
homepage:
  https://github.com/nikita-volkov/hasql-cursor-query 
bug-reports:
  https://github.com/nikita-volkov/hasql-cursor-query/issues 
author:
  Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer:
  Nikita Volkov <nikita.y.volkov@mail.ru>
copyright:
  (c) 2016, 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-cursor-query.git


library
  hs-source-dirs:
    library
  ghc-options:
  default-extensions:
    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, 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.CursorQuery.Private.Prelude
    Hasql.CursorQuery.Private.CursorQuery
    Hasql.CursorQuery.Private.Decoders
    Hasql.CursorQuery.Private.Transactions
    Hasql.CursorQuery.Private.CursorTransactions
    Hasql.CursorQuery.Private.Sessions
  exposed-modules:
    Hasql.CursorQuery.Transactions
    Hasql.CursorQuery.CursorTransactions
    Hasql.CursorQuery.Sessions
    Hasql.CursorQuery
  build-depends:
    -- database:
    hasql >= 0.19 && < 0.20,
    hasql-transaction >= 0.4.5.1 && < 0.5,
    hasql-cursor-transaction >= 0.5 && < 0.6,
    -- data:
    bytestring >= 0.10 && < 0.11,
    -- control:
    foldl > 1 && < 2,
    profunctors == 5.*,
    contravariant >= 1.3 && < 2,
    -- general:
    base-prelude >= 0.1.19 && < 2,
    base >= 4.6 && < 5


test-suite tasty
  type:
    exitcode-stdio-1.0
  hs-source-dirs:
    tasty
  main-is:
    Main.hs
  other-modules:
    Main.CursorQueries
    Main.Queries
    Main.IO
  default-extensions:
    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, 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:
    -- database:
    hasql,
    hasql-cursor-query,
    -- testing:
    tasty == 0.11.*,
    tasty-quickcheck == 0.8.*,
    tasty-smallcheck == 0.8.*,
    tasty-hunit == 0.9.*,
    quickcheck-instances >= 0.3.11 && < 0.4,
    QuickCheck >= 2.8.1 && < 2.9,
    -- 
    foldl >= 1.2 && < 2,
    rebase < 2