packages feed

eventium-core-0.3.2: eventium-core.cabal

cabal-version: 1.12

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

name:           eventium-core
version:        0.3.2
synopsis:       Core module for eventium
description:    Eventium-core provides the core abstractions and utilities for building event sourcing systems in Haskell.
                It includes event store interfaces, command handlers, projections, event handlers, event publishers,
                event subscriptions, process managers, and Template Haskell utilities for generating boilerplate code.
                This is the foundational package that all other Eventium modules build upon.
category:       Database,Eventsourcing
stability:      experimental
homepage:       https://github.com/aleks-sidorenko/eventium#readme
bug-reports:    https://github.com/aleks-sidorenko/eventium/issues
maintainer:     Alexander Sidorenko
license:        MIT
license-file:   LICENSE.md
build-type:     Simple
extra-source-files:
    CHANGELOG.md
    README.md

source-repository head
  type: git
  location: https://github.com/aleks-sidorenko/eventium

flag ci
  description: Enable -Werror for CI builds
  manual: True
  default: False

library
  exposed-modules:
      Eventium
      Eventium.Codec
      Eventium.CommandDispatcher
      Eventium.CommandHandler
      Eventium.EventHandler
      Eventium.EventPublisher
      Eventium.EventSubscription
      Eventium.Json
      Eventium.Json.TH
      Eventium.ProcessManager
      Eventium.Projection
      Eventium.ProjectionCache.Cache
      Eventium.ProjectionCache.Types
      Eventium.ReadModel
      Eventium.Store.Class
      Eventium.Store.Queries
      Eventium.Store.Types
      Eventium.TH
      Eventium.TH.Projection
      Eventium.TH.SumType
      Eventium.TH.SumTypeCodec
      Eventium.TypeEmbedding
      Eventium.UUID
  other-modules:
      Paths_eventium_core
  hs-source-dirs:
      src
  default-extensions:
      NoFieldSelectors
      DuplicateRecordFields
      OverloadedRecordDot
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wredundant-constraints -Wno-type-defaults -Wno-incomplete-uni-patterns
  build-depends:
      aeson >=1.5 && <2.3
    , base >=4.9 && <5
    , containers >=0.6 && <0.8
    , contravariant ==1.5.*
    , http-api-data >=0.4 && <0.7
    , path-pieces ==0.2.*
    , template-haskell >=2.20 && <2.23
    , text >=1.2 && <2.2
    , time >=1.9 && <1.14
    , transformers >=0.5 && <0.7
    , uuid ==1.3.*
  default-language: Haskell2010
  if flag(ci)
    ghc-options: -Werror

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Eventium.CodecSpec
      Eventium.CommandDispatcherSpec
      Eventium.EventHandlerSpec
      Eventium.JsonSpec
      Eventium.ProjectionSpec
      Eventium.SumTypeSpec
      Eventium
      Eventium.Codec
      Eventium.CommandDispatcher
      Eventium.CommandHandler
      Eventium.EventHandler
      Eventium.EventPublisher
      Eventium.EventSubscription
      Eventium.Json
      Eventium.Json.TH
      Eventium.ProcessManager
      Eventium.Projection
      Eventium.ProjectionCache.Cache
      Eventium.ProjectionCache.Types
      Eventium.ReadModel
      Eventium.Store.Class
      Eventium.Store.Queries
      Eventium.Store.Types
      Eventium.TH
      Eventium.TH.Projection
      Eventium.TH.SumType
      Eventium.TH.SumTypeCodec
      Eventium.TypeEmbedding
      Eventium.UUID
      Paths_eventium_core
  hs-source-dirs:
      tests
      src
  default-extensions:
      NoFieldSelectors
      DuplicateRecordFields
      OverloadedRecordDot
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wredundant-constraints -Wno-type-defaults -Wno-incomplete-uni-patterns
  build-tool-depends:
      hspec-discover:hspec-discover
  build-depends:
      HUnit
    , aeson >=1.5 && <2.3
    , base >=4.9 && <5
    , containers >=0.6 && <0.8
    , contravariant ==1.5.*
    , hspec
    , http-api-data >=0.4 && <0.7
    , path-pieces ==0.2.*
    , template-haskell >=2.20 && <2.23
    , text >=1.2 && <2.2
    , time >=1.9 && <1.14
    , transformers >=0.5 && <0.7
    , uuid ==1.3.*
  default-language: Haskell2010
  if flag(ci)
    ghc-options: -Werror