packages feed

persistent-pagination-0.1.1.2: persistent-pagination.cabal

cabal-version: 1.12

name:           persistent-pagination
version:        0.1.1.2
synopsis:       Efficient and correct pagination for persistent or esqueleto queries.
description:    Please see the README on GitHub at <https://github.com/parsonsmatt/persistent-pagination#readme>
homepage:       https://github.com/parsonsmatt/persistent-pagination#readme
bug-reports:    https://github.com/parsonsmatt/persistent-pagination/issues
author:         Matt Parsons
maintainer:     parsonsmattt@gmail.com
copyright:      2019 Matt Parsons
license:        BSD3
license-file:   LICENSE
build-type:     Simple
category:       Database
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/parsonsmatt/persistent-pagination

library
  exposed-modules:
      Database.Persist.Pagination
      Database.Esqueleto.Pagination
      Database.Persist.Pagination.Types
  other-modules:
      Paths_persistent_pagination
  hs-source-dirs:
      src
  build-depends:
      base              >= 4.11     && < 5
    , conduit           >= 1.2.8    && < 1.4
    , esqueleto         
    , foldl                            < 1.5.0
    , microlens                        < 0.5
    , mtl                              < 3
    , persistent        >= 2        && < 3.0
  default-language: Haskell2010
  ghc-options:
    -Wall

test-suite persistent-pagination-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_persistent_pagination
      Database.Persist.PaginationSpec
      Database.Esqueleto.PaginationSpec
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , conduit
    , containers
    , esqueleto
    , hspec
    , hspec-discover
    , mtl
    , persistent
    , persistent-pagination
    , persistent-sqlite
    , persistent-template
    , QuickCheck
    , time
  default-language: Haskell2010
  default-extensions:
    DerivingStrategies, StandaloneDeriving