summaryrefslogtreecommitdiff
path: root/immortal.cabal
blob: 0b7530286baa39bcc52e9686e031513141fc1ddb (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
name:                immortal
version:             0.3
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
  build-depends:
    base >=4.5 && <5,
    stm,
    unliftio-core >=0.1.1.0
  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
    , transformers
    , immortal
    , stm
  ghc-options: -Wall