packages feed

componentm-0.0.0.2: componentm.cabal

cabal-version: >=1.10
name: componentm
version: 0.0.0.2
license: MIT
license-file: LICENSE
copyright: © 2017-current Roman Gonzalez
maintainer: open-source@roman-gonzalez.info
author: Roman Gonzalez
stability: alpha (experimental)
tested-with: ghc ==8.0.1 ghc ==8.0.2 ghc ==8.2.1
homepage: https://github.com/roman/Haskell-componentm#readme
bug-reports: https://github.com/roman/Haskell-componentm/issues
synopsis: Monad for allocation and cleanup of application resources
description:
    This library allows you to allocate resources with
    clean up strategies when initializing your application.
    It then provides a Monadic interface to compose multiple
    resources without having to deal with cleanup operations
    explicitely.
category: System
build-type: Simple
extra-source-files:
    CHANGELOG.md
    README.md

source-repository head
    type: git
    location: https://github.com/roman/Haskell-componentm

library
    exposed-modules:
        Control.Monad.Component
        Control.Monad.Component.Internal.Types
        Control.Monad.Component.Internal.Core
    hs-source-dirs: src
    other-modules:
        Paths_componentm
    default-language: Haskell2010
    ghc-options: -Wall -Wincomplete-uni-patterns
                 -Wincomplete-record-updates
    build-depends:
        base >=4.8 && <5,
        containers >=0.5.7,
        deepseq >=1.4.2,
        exceptions >=0.8.3,
        pretty-show >=1.6.13,
        prettyprinter >=1.1,
        rio >=0.0.3,
        teardown >=0.3

test-suite componentm-tests
    type: exitcode-stdio-1.0
    main-is: TestSuite.hs
    hs-source-dirs: test/tasty
    other-modules:
        ComponentTest
        Paths_componentm
    default-language: Haskell2010
    ghc-options: -Wall -Wincomplete-uni-patterns
                 -Wincomplete-record-updates -threaded -rtsopts -with-rtsopts=-N
    build-depends:
        base >=4.8 && <5,
        componentm -any,
        containers >=0.5.7,
        pretty-show >=1.6.13,
        prettyprinter >=1.1,
        rio >=0.0.3,
        tasty >=0.11.2,
        tasty-hunit >=0.9.2,
        teardown >=0.3