-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhabbix.cabal
117 lines (106 loc) · 3.97 KB
/
habbix.cabal
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
-- Initial habbix.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: habbix
version: 0.1.0.0
synopsis: Multi-Axis library/executable and misc. zabbix tools
description: habbix uses two databases: the vanilla zabbix database
(read-only) and our own (read and write).
.
Module roadmap:
.
- "ZabbixDB" the habbix core ('ZabbixDB.Habbix').
- "ZabbixModels" defines tables only found in the zabbix db.
- "Models" defines all tables (some present in both, some only in our db).
- "Query" provides SQL queries.
- "Future" defines the prediction interface and
- "Forecast" has some regression utilities.
license: MIT
license-file: LICENSE
author: Samuli Thomasson
maintainer: simsaladin@paivola.fi
-- copyright:
-- category:
build-type: Simple
-- extra-source-files:
cabal-version: >=1.10
flag old-postgresql
description: Build for PostgreSQL <= 8.4.
default: False
flag statistics
description: Build hmatrix/hstatistics dependant stuff
default: False
library
exposed-modules: ZabbixDB
, Query
, Models
, ZabbixModels
, Forecast
, Future
build-depends: base >=4.5 && <4.9
, text >=0.11 && <1.3
, containers
, bytestring
, vector
, unordered-containers >=0.2 && <0.3
, mtl >=2.0 && <3.0
, transformers
, transformers-base
, monad-control
, resourcet
, monad-logger >=0.3 && <0.4
, conduit
, persistent >=2.0.4 && <3.0
, persistent-template >=2.0.4 && <3.0
, persistent-postgresql >=2.0.4 && <3.0
, esqueleto >=2.0.1 && <3.0
, utility-ht
, process
, aeson
, time
, fast-logger
default-extensions: CPP
OverloadedStrings
MultiParamTypeClasses
default-language: Haskell2010
if flag(statistics)
build-depends: hmatrix
, hstatistics
cpp-options: -DSTATISTICS
if flag(old-postgresql)
build-depends: postgresql-libpq < 0.9
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
executable habbix
main-is: main.hs
hs-source-dirs: app
build-depends: base
, containers
, time
, habbix
, cmdargs
, conduit
, vector
, yaml
, text
, esqueleto
, directory
, persistent
, transformers
, aeson
, aeson-pretty
, bytestring
, monad-logger
if flag(statistics)
build-depends: hmatrix
, hstatistics
cpp-options: -DSTATISTICS
default-language: Haskell2010
ghc-options: -Wall -O2 -threaded -rtsopts
-- ghc-options: -Wall -O2 -threaded -fprof-auto
executable linreg
main-is: linreg.hs
hs-source-dirs: app
build-depends: base, habbix, vector, aeson, bytestring, mtl
default-language: Haskell2010
ghc-options: -Wall