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

name:                thermoprint-servant
version:             0.0.0
synopsis:            Server for interfacing to cheap thermoprinters
-- description:         
homepage:            git://git.yggdrasil.li/thermoprint
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.Api
  hs-source-dirs:      api
  default-language:    Haskell2010
  other-extensions:    DataKinds
                     , TypeOperators
                     , DeriveGeneric
  build-depends:       base >=4.8 && <4.9
                     , thermoprint
                     , aeson >=0.9.0 && <0.10
                     , servant >=0.4.4 && <0.5
                     , text >=1.2.1 && <4.5
                     , bytestring >=0.10.6 && <0.11

executable thermoprint
  main-is:             Main.hs
  hs-source-dirs:      src
  default-language:    Haskell2010
  -- other-modules:       
  other-extensions:    RecordWildCards
                     , OverloadedStrings
  build-depends:       base >=4.8 && <4.9
                     , thermoprint
                     , thermoprint-servant
                     , aeson >=0.9.0 && <0.10
                     , wai >=3.0.3 && <3.1
                     , servant-server >=0.4.4 && <0.5
                     , warp >=3.1.3 && <3.2
                     , text >=1.2.1 && <1.3
                     , bytestring >=0.10.6 && <0.11
                     , either >=4.4.1 && <4.5
                     , optparse-applicative >=0.11.0 && <0.12
                     , transformers >=0.4.2 && <0.5
                     , persistent >=2.2 && <3
                     , persistent-template >=2.1 && <3
                     , persistent-sqlite >=2.2 && <3
                     , monad-logger >=0.3.13 && <1