packages feed

pg-extras-0.0.1: pg-extras.cabal

cabal-version:       2.4
-- Initial package description 'pg-extras.cabal' generated by
-- 'cabal init'.  For further documentation, see
-- http://haskell.org/cabal/users-guide/

name:                pg-extras
version:             0.0.1
synopsis:            PostgreSQL database performance insights.
description:
  Haskell port of Heroku PG Extras. The goal of this project is to provide a powerful insights into PostgreSQL database for Ruby on Rails apps that are not using the default Heroku PostgreSQL plugin.

license:             MIT
license-file:        LICENSE
author:              Paweł Urbanek
maintainer:          Paweł Urbanek <contact@pawelurbanek.com>
copyright:
  (c) 2020 Paweł Urbanek
category:            Database
build-type:          Simple
extra-source-files:
  CHANGES.md

tested-with:
  GHC ==7.6.3
   || ==7.8.4
   || ==7.10.3
   || ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.5
   || ==8.8.4
   || ==8.10.2

source-repository head
  type:     git
  location: http://github.com/pawurb/haskell-pg-extras

library
  ghc-options:     -Wall -fno-warn-name-shadowing
  hs-source-dirs:  src
  exposed-modules: PGExtras
  other-modules:
                   PGExtras.Queries.AllLocks
                   PGExtras.Queries.Bloat
                   PGExtras.Queries.Blocking
                   PGExtras.Queries.CacheHit
                   PGExtras.Queries.Calls
                   PGExtras.Queries.Extensions
                   PGExtras.Queries.IndexCacheHit
                   PGExtras.Queries.IndexSize
                   PGExtras.Queries.IndexUsage
                   PGExtras.Queries.KillAll
                   PGExtras.Queries.Locks
                   PGExtras.Queries.LongRunningQueries
                   PGExtras.Queries.Mandelbrot
                   PGExtras.Queries.RecordsRank
                   PGExtras.Queries.SeqScans
                   PGExtras.Queries.TableCacheHit
                   PGExtras.Queries.TableIndexesSize
                   PGExtras.Queries.TableSize
                   PGExtras.Queries.TotalIndexSize
                   PGExtras.Queries.TotalTableSize
                   PGExtras.Queries.UnusedIndexes
                   PGExtras.Queries.VacuumStats
                   PGExtras.Helpers
  build-depends:
    base                >= 4.13.0 && < 4.14
    , postgresql-simple >= 0.6.3 && < 0.7
    , text              >= 1.2.4 && < 1.3
    , time              >= 1.9.3 && < 1.10
    , bytestring        >= 0.10.10 && < 0.11
    , raw-strings-qq    >= 1.1 && < 1.2
  default-language:    Haskell2010

test-suite test
  default-language:   Haskell2010
  type:               exitcode-stdio-1.0
  hs-source-dirs:     test
  main-is:            Main.hs
  build-depends:
    pg-extras
    , base              >= 4.13.0 && < 4.14
    , text              >= 1.2.4 && < 1.3
    , HUnit             >= 1.6.1 && < 1.7