packages feed

stm-chans-3.0.0.5: stm-chans.cabal

----------------------------------------------------------------
-- wren gayle romano <wren@community.haskell.org>   ~ 2021.10.16
----------------------------------------------------------------

-- Cabal >=1.10 is required by Hackage.
Cabal-Version:  >= 1.10
-- We need a custom build in order to define __HADDOCK__
Build-Type:     Custom

Name:           stm-chans
Version:        3.0.0.5
Stability:      provisional
Homepage:       http://wrengr.org
Author:         wren gayle romano, Thomas DuBuisson
Maintainer:     wren@cpan.org
Copyright:      Copyright (c) 2011--2021 wren gayle romano
License:        BSD3
License-File:   LICENSE

Category:       Concurrency
Synopsis:       Additional types of channels for STM.
Description:    Additional types of channels for STM.

Extra-source-files:
    AUTHORS, README.md, CHANGELOG

-- This used to be tested on 7.8.3 and 7.10.1, but we don't verify that by CI.
-- <https://github.com/wrengr/stm-chans/actions?query=workflow%3Aci>
Tested-With:
    GHC ==8.0.2,
    GHC ==8.2.2,
    GHC ==8.4.4,
    GHC ==8.6.5,
    GHC ==8.8.4,
    GHC ==8.10.3,
    GHC ==9.0.1

----------------------------------------------------------------
Source-Repository head
    Type:     git
    Location: https://github.com/wrengr/stm-chans.git

----------------------------------------------------------------
-- HACK: since Cabal-1.24 we need this stansa to explicitly loosen
-- the upper bound on the Cabal library used for Setup.hs.
-- TODO: Just about makes me want to abandon our __HADDOCK__ hack.
Custom-Setup
    Setup-Depends: base  >= 4.1  && < 5
                 , Cabal >= 1.14 && < 3.5
Library
    Default-Language: Haskell2010
    -- N.B., the following versions are required for:
    -- * stm >= 2.4:   T{,B}Queue and newBroadcastTChan{,IO}
    -- * stm >= 2.3.0: fast tryReadTChan, peekTChan, tryPeekTChan,
    --         tryReadTMVar, modifyTVar, modifyTVar', swapTVar.
    -- * stm >= 2.1.2: fast readTVarIO.
    --
    -- Not sure what the real minbound is for base...
    Build-Depends: base >= 4.1 && < 5
                 , stm  >= 2.4

    Hs-Source-Dirs:  src
    Exposed-Modules: Control.Concurrent.STM.TBChan
                   , Control.Concurrent.STM.TBMChan
                   , Control.Concurrent.STM.TMChan
                   , Control.Concurrent.STM.TBMQueue
                   , Control.Concurrent.STM.TMQueue

----------------------------------------------------------------
----------------------------------------------------------- fin.