summaryrefslogtreecommitdiff
path: root/threads-supervisor.cabal
blob: 6fbaaccc8b5fc12ed0b9d81c191ef43337db2ad0 (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
name:                threads-supervisor
version:             1.0.2.0
synopsis:            Simple, IO-based library for Erlang-style thread supervision
description:         Simple, IO-based library for Erlang-style thread supervision
license:             MIT
license-file:        LICENSE
author:              Alfredo Di Napoli
maintainer:          alfredo.dinapoli@gmail.com
copyright:           Alfredo Di Napoli
category:            Concurrency
build-type:          Simple
cabal-version:       >=1.10

source-repository head
  type: git
  location: https://github.com/adinapoli/threads-supervisor

library
  exposed-modules:
    Control.Concurrent.Supervisor
    Control.Concurrent.Supervisor.Tutorial
  build-depends:
    base                 >= 4.6 && < 5,
    unordered-containers >= 0.2.0.0 && < 0.3.0.0,
    stm                  >= 2.4,
    time                 >= 1.2
  hs-source-dirs:
    src
  default-language:    Haskell2010
  ghc-options:
    -Wall
    -funbox-strict-fields

test-suite threads-supervisor-tests
  type:
    exitcode-stdio-1.0
  main-is:
    Main.hs
  other-modules:
    Tests
  hs-source-dirs:
    test
  default-language:
    Haskell2010
  ghc-options:
    -threaded
    "-with-rtsopts=-N"
  build-depends:
      threads-supervisor -any
    , base
    , bytestring
    , QuickCheck
    , tasty >= 0.9.0.1
    , tasty-quickcheck
    , tasty-hunit
    , time
    , stm
    , transformers