cabal-version:       >=1.10
name:                eventsourcing-postgresql
version:             0.9.0
synopsis:            PostgreSQL adaptor for eventsourcing.
description:         Adaptor to use PostgreSQL as a back-end with eventsourcing.
license:             ISC
license-file:        LICENSE
author:              Tom Feron <tho.feron@gmail.com>
maintainer:          Tom Feron <tho.feron@gmail.com>
build-type:          Simple
extra-source-files:  CHANGELOG.md
homepage:            https://github.com/thoferon/eventsourcing
bug-reports:         https://github.com/thoferon/eventsourcing/issues
category:            Database

source-repository head
  type:     git
  location: git://github.com/thoferon/eventsourcing.git
  subdir:   eventsourcing-postgresql

library
  hs-source-dirs:    src
  default-language:  Haskell2010
  ghc-options:       -Wall

  exposed-modules:
    Database.CQRS.PostgreSQL
    Database.CQRS.PostgreSQL.Migration
    Database.CQRS.PostgreSQL.Projection
    Database.CQRS.PostgreSQL.SQLQuery
    Database.CQRS.PostgreSQL.Stream
    Database.CQRS.PostgreSQL.StreamFamily
    Database.CQRS.PostgreSQL.TrackingTable

  other-modules:
    Database.CQRS.PostgreSQL.Internal

  build-depends:
    base >=4.12 && <5,
    bytestring >=0.10,
    eventsourcing,
    hashable,
    mtl,
    pipes,
    postgresql-simple >=0.6,
    stm,
    unordered-containers
