packages feed

polling-cache-0.0.1.0: polling-cache.cabal

cabal-version:      1.12
name:               polling-cache
version:            0.0.1.0
license:            BSD3
license-file:       LICENSE
copyright:          2021 Jordan Kaye
maintainer:         jordan.kaye2@gmail.com
author:             Jordan Kaye
homepage:           https://github.com/jkaye2012/polling-cache#readme
bug-reports:        https://github.com/jkaye2012/polling-cache/issues
synopsis:
    Cache infrequently updated data for simpler distributed systems.

description:
    Cache infrequently updated data for simpler distributed systems. See <https://github.com/jkaye2012/polling-cache> for more details.

category:           Cache,"Distributed Computing"
build-type:         Simple
extra-source-files:
    README.org
    ChangeLog.org

source-repository head
    type:     git
    location: https://github.com/jkaye2012/polling-cache

library
    exposed-modules:
        Data.Cache
        Data.Cache.Internal
        Data.Cache.Polling

    hs-source-dirs:   src
    other-modules:    Paths_polling_cache
    default-language: Haskell2010
    ghc-options:
        -Wall -Widentities -Wincomplete-record-updates
        -Wincomplete-patterns -Wincomplete-uni-patterns -Wpartial-fields
        -Wredundant-constraints

    build-depends:
        base >=4.14.1.0 && <4.15,
        exceptions >=0.10.4 && <0.11,
        random >=1.2.0 && <1.3,
        stm >=2.5.0.0 && <2.6,
        time >=1.9.3 && <1.10,
        unliftio >=0.2.19 && <0.3

test-suite polling-cache-test
    type:             exitcode-stdio-1.0
    main-is:          Spec.hs
    hs-source-dirs:   test
    other-modules:
        PollingCacheSpec
        Paths_polling_cache

    default-language: Haskell2010
    ghc-options:
        -Wall -Widentities -Wincomplete-record-updates
        -Wincomplete-patterns -Wincomplete-uni-patterns -Wpartial-fields
        -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N

    build-depends:
        base >=4.14.1.0 && <4.15,
        exceptions >=0.10.4 && <0.11,
        hspec >=2.7.10 && <2.8,
        hspec-discover >=2.7.10 && <2.8,
        mtl >=2.2.2 && <2.3,
        polling-cache -any,
        random >=1.2.0 && <1.3,
        stm >=2.5.0.0 && <2.6,
        time >=1.9.3 && <1.10,
        transformers >=0.5.6.2 && <0.6,
        unliftio >=0.2.19 && <0.3