packages feed

text-postgresql-0.0.3.0: text-postgresql.cabal

name:                text-postgresql
version:             0.0.3.0
synopsis:            Parser and Printer of PostgreSQL extended types
description:         This package involves parser and printer for
                     text expressions of PostgreSQL extended types.
                     - inet type, cidr type
homepage:            http://khibino.github.io/haskell-relational-record/
license:             BSD3
license-file:        LICENSE
author:              Kei Hibino
maintainer:          ex8k.hibino@gmail.com
copyright:           Copyright (c) 2015-2018 Kei Hibino
category:            Database
build-type:          Simple

cabal-version:       >=1.10
tested-with:           GHC == 8.4.1, GHC == 8.4.2
                     , GHC == 8.2.1, GHC == 8.2.2
                     , GHC == 8.0.1, GHC == 8.0.2
                     , GHC == 7.10.1, GHC == 7.10.2, GHC == 7.10.3
                     , GHC == 7.8.1, GHC == 7.8.2, GHC == 7.8.3, GHC == 7.8.4
                     , GHC == 7.6.1, GHC == 7.6.2, GHC == 7.6.3
                     , GHC == 7.4.1, GHC == 7.4.2

library
  exposed-modules:
                       Data.PostgreSQL.NetworkAddress
                       Database.PostgreSQL.Parser
                       Database.PostgreSQL.Printer
  other-modules:
                       Text.Parser.List
                       Text.Printer.List

  build-depends:         base <5
                       , transformers
                       , transformers-compat
                       , dlist
  hs-source-dirs:      src
  default-language:    Haskell2010

test-suite test-prop
  build-depends:         base <5
                       , QuickCheck
                       , quickcheck-simple
                       , text-postgresql
  type:                exitcode-stdio-1.0
  main-is:             prop.hs
  hs-source-dirs:      test

  ghc-options:         -Wall
  default-language:     Haskell2010