cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.1.
--
-- see: https://github.com/sol/hpack

name:           domaindriven-core
version:        0.5.0
synopsis:       Batteries included event sourcing and CQRS
description:    Please see the README on GitHub at <https://github.com/tommyengstrom/domaindriven#readme>
category:       Web
homepage:       https://github.com/tommyengstrom/domaindriven#readme
bug-reports:    https://github.com/tommyengstrom/domaindriven/issues
author:         Tommy Engström
maintainer:     tommy@tommyengstrom.com
copyright:      2023 Tommy Engström
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/tommyengstrom/domaindriven

library
  exposed-modules:
      DomainDriven.Persistance.Class
      DomainDriven.Persistance.ForgetfulInMemory
      DomainDriven.Persistance.Postgres
      DomainDriven.Persistance.Postgres.Internal
      DomainDriven.Persistance.Postgres.Migration
      DomainDriven.Persistance.Postgres.Types
  other-modules:
      Paths_domaindriven_core
  hs-source-dirs:
      src
  default-extensions:
      Arrows
      ConstraintKinds
      DataKinds
      DeriveAnyClass
      DeriveFunctor
      DeriveGeneric
      DeriveTraversable
      DerivingStrategies
      DuplicateRecordFields
      FlexibleContexts
      FlexibleInstances
      FunctionalDependencies
      GADTs
      GeneralizedNewtypeDeriving
      ImportQualifiedPost
      LambdaCase
      MultiParamTypeClasses
      MultiWayIf
      NamedFieldPuns
      NoImplicitPrelude
      OverloadedLabels
      OverloadedStrings
      PolyKinds
      RankNTypes
      ScopedTypeVariables
      StandaloneDeriving
      TupleSections
      TypeApplications
      TypeFamilyDependencies
      TypeOperators
      TypeSynonymInstances
      ViewPatterns
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-patterns
  build-depends:
      aeson >=2.0.3 && <2.2
    , async >=2.2.4 && <2.3
    , base >=4.7 && <5
    , bytestring >=0.11.3 && <0.12
    , containers >=0.6.5.1 && <0.7
    , deepseq >=1.4.6.1 && <1.5
    , exceptions >=0.10.4 && <0.11
    , generic-lens >=2.2.1.0 && <2.3
    , http-types >=0.12.3 && <0.13
    , microlens >=0.4.12.0 && <0.5
    , mtl >=2.2.2 && <2.3
    , postgresql-simple >=0.6.4 && <0.7
    , random >=1.2.1.1 && <1.3
    , streamly >=0.8.1.1 && <0.9
    , template-haskell >=2.18.0.0 && <2.19
    , time >=1.11.1 && <1.12
    , transformers >=0.5.6.2 && <0.6
    , unliftio >=0.2.0.1 && <0.3
    , unliftio-pool >=0.2.2.0 && <0.3
    , unordered-containers >=0.2.19.1 && <0.3
    , uuid >=1.3.15 && <1.4
    , vector >=0.12.3.1 && <0.14
  default-language: Haskell2010

test-suite domaindriven-core-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      DomainDriven.Persistance.PostgresIORefStateSpec
      Paths_domaindriven_core
  hs-source-dirs:
      test
  default-extensions:
      Arrows
      ConstraintKinds
      DataKinds
      DeriveAnyClass
      DeriveFunctor
      DeriveGeneric
      DeriveTraversable
      DerivingStrategies
      DuplicateRecordFields
      FlexibleContexts
      FlexibleInstances
      FunctionalDependencies
      GADTs
      GeneralizedNewtypeDeriving
      ImportQualifiedPost
      LambdaCase
      MultiParamTypeClasses
      MultiWayIf
      NamedFieldPuns
      NoImplicitPrelude
      OverloadedLabels
      OverloadedStrings
      PolyKinds
      RankNTypes
      ScopedTypeVariables
      StandaloneDeriving
      TupleSections
      TypeApplications
      TypeFamilyDependencies
      TypeOperators
      TypeSynonymInstances
      ViewPatterns
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-patterns -threaded -rtsopts -with-rtsopts=-N -Wall -Wunused-packages
  build-depends:
      aeson >=2.0.3 && <2.2
    , base >=4.7 && <5
    , domaindriven-core >=0.5.0 && <0.6
    , hspec >=2.9.7 && <2.10
    , postgresql-simple >=0.6.4 && <0.7
    , streamly >=0.8.1.1 && <0.9
    , time >=1.11.1 && <1.12
    , unliftio-pool >=0.2.2.0 && <0.3
    , uuid >=1.3.15 && <1.4
  default-language: Haskell2010