aboutsummaryrefslogtreecommitdiff
path: root/server/thermoprint-server.cabal
blob: 1ed55a641b699ef2f556477adf05aafd70e5a58c (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
-- Initial thermoprint-server.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                thermoprint-server
version:             2.0.2
synopsis:            Server for thermoprint-spec
-- description:         
homepage:            http://dirty-haskell.org/tags/thermoprint.html
license:             PublicDomain
license-file:        LICENSE
author:              Gregor Kleen
maintainer:          aethoago@141.li
-- copyright:           
category:            Web
build-type:          Simple
-- extra-source-files:  
cabal-version:       >=1.10

library
  exposed-modules:     Thermoprint.Server
                     , Thermoprint.Server.Fork
                     , Thermoprint.Server.Database
                     , Thermoprint.Server.API
                     , Thermoprint.Server.Push
                     , Thermoprint.Server.Queue
                     , Thermoprint.Server.Queue.Utils
                     , Thermoprint.Server.Printer
                     , Thermoprint.Server.Printer.Debug
                     , Thermoprint.Server.Printer.Debug.Delayed
                     , Thermoprint.Server.Printer.Generic
  other-modules:       Thermoprint.Server.Database.Instances
                     , Paths_thermoprint_server
  -- other-extensions:    
  build-depends:       base >=4.8 && <5
                     , conduit >=1.2.6 && <2
                     , containers >=0.5.6 && <1
                     , data-default-class >=0.0.1 && <1
                     , deepseq >=1.4.1 && <2
                     , dyre >=0.8.12 && <1
                     , either >=4.4.1 && <5
                     , exceptions >=0.8.0 && <1
                     , monad-control >=1.0.0 && <2
                     , monad-logger >=0.3.13 && <1
                     , resourcet >=1.1.7 && <2
                     , mtl >=2.2.1 && <3
                     , transformers >=0.3.0 && <1
                     , persistent >=2.2 && <3
                     , persistent-template >=2.1.4 && <3
                     , servant >=0.4.4 && <1
                     , servant-server >=0.4.4 && <1
                     , stm >=2.4.4 && <3
                     , text >=1.2.1 && <2
                     , thermoprint-spec ==6.0.*
                     , time >=1.5.0 && <2
                     , wai >=3.0.4 && <4
                     , warp >=3.1.9 && <4
                     , mmorph >=1.0.6 && <2
                     , extended-reals >=0.2.1 && <1
                     , filelock >=0.1.0 && <1
                     , bytestring >=0.10.6 && <1
                     , encoding >=0.8 && <1
                     , binary >=0.7.5 && <1
                     , QuickCheck >=2.8.1 && <3
                     , quickcheck-instances >=0.3.11 && <4
                     , websockets >=0.9.5 && <1
                     , wai-websockets >=3.0.0 && <4
                     , wai >=3.0.5 && <4
                     , network-uri >=2.6.0 && <3
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall

Test-Suite tests
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base >=4.8.1 && <5
                     , thermoprint-server ==2.0.*
                     , thermoprint-client ==2.0.*
                     , thermoprint-spec -any
                     , hspec >=2.2.1 && <3
                     , QuickCheck >=2.8.1 && <3
                     , quickcheck-instances >=0.3.11 && <4
                     , temporary >=1.2.0 && <2
                     , monad-logger >=0.3.13 && <1
                     , resourcet >=1.1.7 && <2
                     , mtl >=2.2.1 && <3
                     , transformers >=0.3.0 && <1
                     , persistent-sqlite >=2.2 && <3
                     , text >=1.2.1 && <2
                     , stm >=2.4.4 && <3
                     , warp >=3.1.9 && <4
                     , exceptions >=0.8.0 && <1
                     , containers >=0.5.6 && <1
                     , async >=2.1.0 && <3
                     , http-types >=0.9.1 && <1
                     , bytestring >=0.10.6 && <1

executable thermoprint-server
  main-is:             Main.hs
  build-depends:       base >=4.8 && <5
                     , thermoprint-server -any
                     , persistent-sqlite >=2.2 && <3
                     , mtl >=2.2.1 && <3
                     , resourcet >=1.1.7 && <2
                     , monad-logger >=0.3.13 && <1
  hs-source-dirs:      default-conf
  default-language:    Haskell2010
  ghc-options:         -Wall