packages feed

persistent-stm-0.1.0.0: persistent-stm.cabal

cabal-version:      2.4
name:               persistent-stm
version:            0.1.0.0
synopsis:           STM transactions involving persistent storage
description:        While Haskell's STM monad allows you to execute code
                    transactionally, it does not allow you to persist the state
                    on disk.  This package implements a persistent storage
                    bridge that runs inside the already existing STM monad.
category:           Database
homepage:           https://github.com/cdsmith/persistent-stm
bug-reports:        https://github.com/cdsmith/persistent-stm/issues
license:            BSD-3-Clause
license-file:       LICENSE

author:             Chris Smith <cdsmith@gmail.com>
maintainer:         Chris Smith <cdsmith@gmail.com>

extra-source-files: CHANGELOG.md

tested-with:        GHC == 8.6.5 || == 8.8.4 || == 8.10.7 || == 9.0.1 || == 9.2.2

source-repository   head
    type:     git
    location: git://github.com/cdsmith/persistent-stm.git

library
    exposed-modules:  PersistentSTM
    build-depends:    base           >= 4.12 && < 4.17,
                      binary         >= 0.8 && < 0.9,
                      bytestring     >= 0.10 && < 0.12,
                      containers     >= 0.6 && < 0.7,
                      directory      >= 1.3 && < 1.4,
                      filepath       >= 1.4 && < 1.5,
                      extra          >= 1.7 && < 1.8,
                      filelock       >= 0.1 && < 0.2,
                      focus          >= 1.0 && < 1.1,
                      stm            >= 2.5 && < 2.6,
                      stm-containers >= 1.2 && < 1.3,
    hs-source-dirs:   src
    default-language: Haskell2010
    ghc-options:      -Wall

test-suite tests
    type:             exitcode-stdio-1.0
    main-is:          Main.hs
    build-depends:    persistent-stm,
                      base           >= 4.12 && < 4.17,
                      hspec          >= 2.10 && < 2.11,
                      stm            >= 2.5 && < 2.6,
                      temporary      >= 1.3 && < 1.4,
    hs-source-dirs:   test
    default-language: Haskell2010
    ghc-options:      -Wall