packages feed

tmp-postgres-1.9.0.2: tmp-postgres.cabal

name:                tmp-postgres
version:             1.9.0.2
synopsis: Start and stop a temporary postgres
description: Start and stop a temporary postgres. See README.md
homepage:            https://github.com/jfischoff/tmp-postgres#readme
license:             BSD3
license-file:        LICENSE
author:              Jonathan Fischoff
maintainer:          jonathangfischoff@gmail.com
copyright:           2017-2019 Jonathan Fischoff
category:            Web
build-type:          Simple
extra-source-files:  README.md, CHANGELOG.md
cabal-version:       >=1.10
tested-with: GHC ==8.6.5

library
  hs-source-dirs: src
  exposed-modules: Database.Postgres.Temp
                 , Database.Postgres.Temp.Internal
                 , Database.Postgres.Temp.Internal.Core
                 , Database.Postgres.Temp.Internal.Config
  default-extensions:
      ApplicativeDo
    , DeriveFunctor
    , DeriveGeneric
    , DerivingStrategies
    , DerivingVia
    , GeneralizedNewtypeDeriving
    , LambdaCase
    , OverloadedStrings
    , RankNTypes
    , RecordWildCards
    , ScopedTypeVariables
    , TemplateHaskell
    , ViewPatterns
  build-depends: base >= 4.6 && < 5
               , ansi-wl-pprint
               , async
               , bytestring
               , containers
               , directory
               , generic-monoid
               , port-utils
               , postgres-options >= 0.2.0.0
               , postgresql-simple
               , process >= 1.2.0.0
               , temporary
               , transformers
               , unix
  ghc-options: -Wall
  default-language:    Haskell2010


test-suite test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , containers
                     , directory
                     , hspec
                     , mtl
                     , port-utils
                     , postgres-options
                     , postgresql-simple
                     , process
                     , temporary
                     , tmp-postgres
                     , unix

  ghc-options:        -Wall -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010
  default-extensions:
      DeriveDataTypeable
    , DeriveGeneric
    , DerivingStrategies
    , DerivingVia
    , LambdaCase
    , OverloadedStrings
    , QuasiQuotes
    , RankNTypes
    , RecordWildCards
    , ScopedTypeVariables


source-repository head
  type:     git
  location: https://github.com/jfischoff/tmp-postgres