packages feed

apecs-stm-0.3: apecs-stm.cabal

name:               apecs-stm
version:            0.3
homepage:           https://github.com/jonascarpay/apecs
license:            BSD3
license-file:       LICENSE
author:             Jonas Carpay
maintainer:         jonascarpay@gmail.com
category:           Game, Control, Data
build-type:         Simple
cabal-version:      >=1.10
synopsis:           STM stores for apecs
description:        Apecs stores that live in the STM monad, and other tools.
extra-source-files:
  CHANGELOG.md
  README.md

source-repository head
  type:     git
  location: https://github.com/jonascarpay/apecs

library
  hs-source-dirs:   src
  exposed-modules:
    Apecs.Stores.STM

  default-language: Haskell2010
  build-depends:
      apecs             >=0.9.3 && <0.11
    , base >=4.9 && <5
    , containers
    , list-t            >=1     && <1.2
    , stm               >=2.3   && <3
    , stm-containers    >=1.2.1 && <2
    , template-haskell
    , transformers
    , vector

  ghc-options:      -Wall

test-suite apecs-stm-test
  type:             exitcode-stdio-1.0
  main-is:          Main.hs
  hs-source-dirs:   test
  build-depends:
      apecs
    , apecs-stm
    , base
    , containers
    , QuickCheck  >=2.10 && <3
    , stm         >=2.3  && <3

  default-language: Haskell2010
  ghc-options:      -Wall -threaded -rtsopts "-with-rtsopts=-N"

benchmark apecs-stm-bench
  type:             exitcode-stdio-1.0
  main-is:          Main.hs
  hs-source-dirs:   bench
  build-depends:
      apecs
    , apecs-stm
    , base
    , linear       >=1.20 && <2
    , tasty-bench  >=0.3  && <0.5

  default-language: Haskell2010
  ghc-options:      -Wall -O2 -threaded -rtsopts "-with-rtsopts=-N"