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-sqlite
version: 0.3.0
synopsis: SQLite implementations for eventium
description: Eventium-sqlite provides a SQLite-based event store implementation for the Eventium event sourcing
framework. It uses the Persistent library for type-safe database access and provides efficient event
storage and retrieval with support for aggregate streams, event versioning, and optimistic concurrency
control. This backend is ideal for single-process applications, embedded systems, and scenarios where
a lightweight database is preferred.
category: Database,Eventsourcing,SQLite
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.ProjectionCache.Sqlite
Eventium.Store.Sqlite
other-modules:
Paths_eventium_sqlite
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
, bytestring >=0.10 && <0.13
, eventium-core >=0.3.0 && <0.4.0
, eventium-sql-common >=0.3.0 && <0.4.0
, mtl >=2.2 && <2.4
, persistent >=2.14 && <2.18
, text >=1.2 && <2.2
, 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.ProjectionCache.SqliteSpec
Eventium.Store.SqliteSpec
Eventium.ProjectionCache.Sqlite
Eventium.Store.Sqlite
Paths_eventium_sqlite
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
, bytestring >=0.10 && <0.13
, eventium-core >=0.3.0 && <0.4.0
, eventium-sql-common >=0.3.0 && <0.4.0
, eventium-testkit
, hspec
, mtl >=2.2 && <2.4
, persistent >=2.14 && <2.18
, persistent-sqlite
, text >=1.2 && <2.2
, uuid ==1.3.*
default-language: Haskell2010
if flag(ci)
ghc-options: -Werror