aboutsummaryrefslogtreecommitdiff
path: root/common/common.cabal
blob: 1a441c5a603a68b6432886f7dadc574ea89b156c (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
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
    , text
    , time
    , validation

  Exposed-modules:
    Common.Model
    Common.Model.CreateIncomeForm
    Common.Model.CreatePaymentForm
    Common.Model.Email
    Common.Model.Payment
    Common.Model.SavedPayment
    Common.Model.SignInForm
    Common.Model.User
    Common.Msg
    Common.Util.Text
    Common.Util.Time
    Common.Util.Validation
    Common.Validation.Atomic
    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.CreateCategory
    Common.Model.Currency
    Common.Model.EditCategory
    Common.Model.EditIncome
    Common.Model.EditIncomeForm
    Common.Model.EditPaymentForm
    Common.Model.Frequency
    Common.Model.Income
    Common.Model.Init
    Common.Model.InitResult
    Common.Model.Payer
    Common.Model.PaymentCategory