summaryrefslogtreecommitdiff
path: root/immortal.cabal
blob: c1232e6c5ba0532889ca3a354e71baf30fa674d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
-- Initial immortal.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                immortal
version:             0.2.2.1
synopsis:            Spawn threads that never die (unless told to do so)
description:         A small library to create threads that never die.

                     This is useful e.g. for writing servers.

homepage:            https://github.com/feuerbach/immortal
license:             MIT
license-file:        LICENSE
author:              Roman Cheplyaka
maintainer:          roma@ro-che.info
-- copyright:           
category:            Concurrency
build-type:          Simple
extra-source-files:
  README.md
  CHANGELOG.md
cabal-version:       >=1.10

source-repository head
  type:     git
  location: https://github.com/feuerbach/immortal.git

library
  exposed-modules:     Control.Immortal
  -- other-modules:       
  build-depends:
    base >=4.5 && <5,
    lifted-base >=0.2,
    transformers-base >=0.4,
    monad-control >=0.3,
    stm
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options: -Wall

test-suite test
  default-language:
    Haskell2010
  type:
    exitcode-stdio-1.0
  hs-source-dirs:
    tests
  main-is:
    test.hs
  build-depends:
      base >= 4 && < 5
    , tasty >= 0.8
    , tasty-hunit
    , immortal
    , transformers
    , stm
    , lifted-base
  ghc-options: -Wall