aboutsummaryrefslogtreecommitdiff
path: root/malodivo.cabal
blob: 67bf0556644418473d80ae6a1323c1e925f6ca5f (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
name: malodivo
version: 0.2.0
synopsis: Budget planning in the Kingdom of Malodivo
description: Once upon a time, in a galaxy far, far away,
  where no man has gone before.
license: PublicDomain
license-file: LICENSE
author: Igor Pashev
maintainer: Igor Pashev <pashev.igor@gmail.com>
copyright: 2017, Igor Pashev <pashev.igor@gmail.com>
category: Math, Finance, Utils
build-type: Custom
cabal-version: >= 1.24
extra-source-files:
  ChangeLog.md
  README.md
  doc/plot.md
  sample/*.json

custom-setup
  setup-depends:
      base >= 4.9 && < 5
    , Cabal
    , cabal-doctest >= 1.0.2

test-suite doctests
  type: exitcode-stdio-1.0
  main-is: doctests.hs
  build-depends:
      base
    , doctest >= 0.11.1
    , bytestring
  ghc-options: -Wall
  hs-source-dirs: test
  default-language: Haskell2010

library
  default-language: Haskell2010
  ghc-options: -Wall
  hs-source-dirs: lib
  build-depends:
      base >= 4.9 && < 5
    , aeson
    , hashable
    , text
    , unordered-containers
  exposed-modules:
    Malodivo.Budget
    Malodivo.Types.Bill
    Malodivo.Types.District
    Malodivo.Types.Ministry

executable malodivo
  default-language: Haskell2010
  ghc-options: -Wall -static
  hs-source-dirs: cmd
  main-is: Main.hs
  other-modules:
    Main.Input
    Main.Output
  build-depends:
      base >= 4.9 && < 5
    , aeson
    , bytestring
    , docopt
    , interpolatedstring-perl6
    , malodivo
    , unordered-containers