aboutsummaryrefslogtreecommitdiff
path: root/common/common.cabal
blob: 0edd8e2cd002909194f9580b0fa933f6cea1b1d5 (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
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

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

  Exposed-modules:
    Common.Model
    Common.Model.CreatePayment
    Common.Model.CreatedPayment
    Common.Model.Email
    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.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.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