aboutsummaryrefslogtreecommitdiff
path: root/common/common.cabal
blob: dffc8d05b95e9cb099ac386d31f55c10ebd239b4 (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
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
    LambdaCase
    MultiParamTypeClasses
    OverloadedStrings
    ScopedTypeVariables

  Build-depends:
      aeson
    , base >= 4.11 && < 5
    , containers
    , text
    , time
    , validation

  Exposed-modules:
    Common.Model
    Common.Model.CreateCategoryForm
    Common.Model.CreateIncomeForm
    Common.Model.CreatePaymentForm
    Common.Model.Email
    Common.Model.Password
    Common.Model.Payment
    Common.Model.SignInForm
    Common.Model.User
    Common.Msg
    Common.Util.Text
    Common.Util.Time
    Common.Util.Validation
    Common.Validation.Atomic
    Common.Validation.Category
    Common.Validation.Income
    Common.Validation.Payment
    Common.Validation.SignIn
    Common.View.Format

  other-modules:
    Common.Message.Key
    Common.Message.Lang
    Common.Message.Translation
    Common.Model.Category
    Common.Model.CategoryPage
    Common.Model.Currency
    Common.Model.EditCategoryForm
    Common.Model.EditIncome
    Common.Model.EditIncomeForm
    Common.Model.EditPaymentForm
    Common.Model.ExceedingPayer
    Common.Model.Frequency
    Common.Model.Income
    Common.Model.IncomeHeader
    Common.Model.IncomePage
    Common.Model.Init
    Common.Model.PaymentHeader
    Common.Model.PaymentPage
    Common.Model.Stats