summaryrefslogtreecommitdiff
path: root/funflow.cabal
blob: a1bf17f0d084aec8d9a2ceacf7cb5f888d1d8f99 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
Name:                funflow
Version:             1.4.0
Synopsis:            Workflows with arrows
Description:
        An arrow with resumable computations and logging

License:             MIT
License-file:        LICENSE
Author:              Tom Nielsen, Nicholas Clarke, Andreas Herrmann
Maintainer:          nicholas.clarke@tweag.io
build-type:          Simple
Cabal-Version:       >= 1.10
homepage:            https://github.com/tweag/funflow
bug-reports:         https://github.com/tweag/funflow
category:            Control
Tested-With:         GHC == 7.8.4, GHC == 7.10.2, GHC == 7.10.3, GHC == 8.0.1

extra-source-files:
                   changelog.md

Library
   ghc-options:       -Wall -fno-warn-type-defaults
   hs-source-dirs:    src
   default-language:  Haskell2010

   Exposed-modules:
                     Control.Arrow.Async
                   , Control.Arrow.Free
                   , Control.Funflow
                   , Control.Funflow.Cache.TH
                   , Control.Funflow.ContentHashable
                   , Control.Funflow.ContentStore
                   , Control.Funflow.Diagram
                   , Control.Funflow.External
                   , Control.Funflow.External.Docker
                   , Control.Funflow.External.Executor
                   , Control.Funflow.External.Coordinator
                   , Control.Funflow.External.Coordinator.Memory
                   , Control.Funflow.External.Coordinator.Redis
                   , Control.Funflow.External.Coordinator.SQLite
                   , Control.Funflow.Lock
                   , Control.Funflow.Orphans
                   , Control.Funflow.Steps
                   , Control.Funflow.Pretty
                   , Control.Funflow.Exec.Simple
   Other-modules:
                     Control.Funflow.Base
                   , Control.Funflow.Class
                   , Control.Funflow.ContentStore.Notify
   Build-depends:
                 base                    >= 4.6 && <5
               , Glob
               , aeson                   >= 1.2.3.0
               , async
               , bytestring
               , clock
               , constraints
               , containers
               , contravariant
               , cryptonite
               , data-default
               , directory
               , exceptions
               , filepath
               , ghc-prim
               , hashable
               , hedis
               , hostname
               , integer-gmp
               , katip                   >= 0.5.0.1
               , lens
               , lifted-async
               , memory
               , monad-control
               , mtl
               , path                    > 0.6.0
               , path-io
               , pretty
               , process
               , random
               , safe-exceptions
               , scientific
               , sqlite-simple
               , stm
               , store
               , template-haskell >= 2.11
               , text
               , time
               , transformers
               , unix
               , unordered-containers
               , vector
               , yaml
   if os(linux)
     CPP-options: -DOS_Linux
     Other-modules: Control.Funflow.ContentStore.Notify.Linux
     Build-depends: hinotify             >= 0.3.9
   else
     if os(darwin) || os(freebsd)
       CPP-options: -DOS_BSD
       Other-modules: Control.Funflow.ContentStore.Notify.BSD
       Build-depends: kqueue

Executable ffexecutord
  default-language:  Haskell2010
  main-is: app/FFExecutorD.hs
  build-depends:       base >=4.6 && <5
                     , bytestring
                     , clock
                     , funflow
                     , hedis
                     , path
                     , text
                     , unix
                     , safe-exceptions
                     , optparse-applicative

Test-suite test-funflow
  type:       exitcode-stdio-1.0
  default-language:  Haskell2010

  main-is: TestFunflow.hs
  ghc-options:        -Wall -threaded
  build-depends:       base >=4.6 && <5
                     , funflow
                     , filepath
                     , hedis
                     , path
                     , path-io
                     , text
                     , safe-exceptions
                     , unix

Test-suite unit-tests
  type:               exitcode-stdio-1.0
  default-language:   Haskell2010
  hs-source-dirs:     test
  main-is:            Test.hs
  other-modules:      Funflow.ContentStore
                      Funflow.SQLiteCoordinator
                      Funflow.TestFlows
                      Control.Arrow.Async.Tests
  ghc-options:        -Wall -threaded
  build-depends:      base
                    , async
                    , containers
                    , data-default >= 0.7
                    , directory
                    , filepath
                    , funflow
                    , path
                    , path-io
                    , process
                    , random
                    , safe-exceptions
                    , tasty
                    , tasty-hunit
                    , temporary
                    , unix