cabal-version: 1.12

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

name:           context-resource
version:        0.2.0.2
x-revision: 1
synopsis:       Thread-safe, pool-compatible resource provider
description:    A thread-safe, pool-compatible resource provider abstraction that supports
                resource-sharing within nested actions.
category:       Data
homepage:       https://sr.ht/~jship/context/
author:         Jason Shipman
maintainer:     Jason Shipman
copyright:      2020 (c) Jason Shipman
license:        MIT
license-file:   LICENSE.md
build-type:     Simple
extra-source-files:
    CHANGELOG.md
    LICENSE.md
    package.yaml
    README.md

source-repository head
  type: git
  location: https://git.sr.ht/~jship/context/

library
  exposed-modules:
      Context.Resource
  other-modules:
      Paths_context_resource
  hs-source-dirs:
      library
  ghc-options: -Wall -fwarn-tabs -Wincomplete-uni-patterns -Wredundant-constraints
  build-depends:
      base >=4.11.1.0 && <5
    , context >=0.2.0.0 && <0.3
    , exceptions >=0.10.0 && <0.11
  default-language: Haskell2010

test-suite context-resource-test-suite
  type: exitcode-stdio-1.0
  main-is: Driver.hs
  other-modules:
      Test.Context.ResourceSpec
      Paths_context_resource
  hs-source-dirs:
      test-suite
  ghc-options: -Wall -fwarn-tabs -Wincomplete-uni-patterns -Wredundant-constraints -threaded -with-rtsopts=-N
  build-tool-depends:
      hspec-discover:hspec-discover
  build-depends:
      async
    , base
    , context
    , context-resource
    , hspec
  default-language: Haskell2010