aboutsummaryrefslogtreecommitdiff
path: root/common/common.cabal
blob: 78f2927ed5c0641190df0a9ad66cb359339adf07 (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
Name:                common
Version:             0.0.1
License:             GPL-3
License-file:        LICENSE
Author:              Joris Guyonvarch
Maintainer:          joris@guyonvarch.me
Category:            Web
Build-type:          Simple
Cabal-version:       >=1.10

Library
  Ghc-options:       -Wall -Werror
  Hs-source-dirs:    src
  Default-language:  Haskell2010

  Default-extensions:
    DeriveGeneric
    ExistentialQuantification
    MultiParamTypeClasses
    OverloadedStrings

  Build-depends:
    aeson
    , base >=4.9 && <5
    , text
    , time

  Exposed-modules:
    Common.Model
    Common.Model.CreatePayment
    Common.Model.Payment
    Common.Model.User
    Common.Msg
    Common.Util.Text
    Common.Util.Time
    Common.View.Format

  other-modules:
    Common.Message.Key
    Common.Message.Lang
    Common.Message.Translation
    Common.Model.Category
    Common.Model.CreateCategory
    Common.Model.CreateIncome
    Common.Model.Currency
    Common.Model.EditCategory
    Common.Model.EditIncome
    Common.Model.EditPayment
    Common.Model.Frequency
    Common.Model.Income
    Common.Model.Init
    Common.Model.InitResult
    Common.Model.Payer
    Common.Model.PaymentCategory
    Common.Model.SignIn