packages feed

mergeful-persistent-0.3.0.1: mergeful-persistent.cabal

cabal-version: 1.12

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

name:           mergeful-persistent
version:        0.3.0.1
synopsis:       Support for using mergeful from persistent-based databases
homepage:       https://github.com/NorfairKing/mergeful#readme
bug-reports:    https://github.com/NorfairKing/mergeful/issues
author:         Tom Sydney Kerckhove
maintainer:     syd@cs-syd.eu
copyright:      Copyright: (c) 2021-2023 Tom Sydney Kerckhove
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/NorfairKing/mergeful

library
  exposed-modules:
      Data.Mergeful.Persistent
  other-modules:
      Paths_mergeful_persistent
  hs-source-dirs:
      src
  ghc-options: -Wall -fwarn-redundant-constraints
  build-depends:
      base >=4.11 && <5
    , containers
    , mergeful
    , microlens
    , mtl
    , persistent
  default-language: Haskell2010

test-suite mergeful-persistent-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Data.Mergeful.Persistent.SingleClientSpec
      Data.Mergeful.Persistent.TwoClientsSpec
      TestUtils
      TestUtils.ClientDB
      TestUtils.ServerDB
      Paths_mergeful_persistent
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-tool-depends:
      sydtest-discover:sydtest-discover
  build-depends:
      QuickCheck
    , base >=4.11 && <5
    , containers
    , genvalidity >=1.0
    , genvalidity-mergeful
    , genvalidity-persistent
    , genvalidity-sydtest
    , mergeful
    , mergeful-persistent
    , monad-logger
    , mtl
    , path
    , path-io
    , persistent
    , persistent-sqlite
    , persistent-template
    , sydtest
    , text
    , validity
    , validity-persistent
  default-language: Haskell2010