forked from flatironinstitute/slurm-prometheus-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathslurm-prometheus-exporter.cabal
50 lines (48 loc) · 1.26 KB
/
slurm-prometheus-exporter.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
name: slurm-prometheus-exporter
version: 0.1.0.0
synopsis: prometheus exporter of slurm job metrics
description: web server for prometheus metrics collected from slurm resource data
homepage: https://github.com/flatironinstitute/slurm-prometheus-exporter#readme
license: Apache-2.0
author: Dylan Simon
maintainer: [email protected]
copyright: 2019 Simons Foundation
category: Web
build-type: Simple
cabal-version: >=1.10
extra-source-files: README.md
flag pkgconfig
description: Use pkg-config to find slurm (otherwise you must add it to extra-include-dirs and extra-lib-dirs)
manual: True
default: True
executable slurm-exporter
hs-source-dirs: .
main-is: Main.hs
other-modules:
Prometheus,
Slurm,
Slurm.Internal,
Slurm.Hostlist,
Slurm.Stats,
Slurm.Job,
Slurm.Node,
TRES,
Node,
Job,
User
default-language: Haskell2010
ghc-options: -Wall
build-depends: base >= 4.7 && < 5,
bytestring,
containers,
transformers,
unix,
time,
text,
http-types,
wai,
warp
if flag(pkgconfig)
pkgconfig-depends: slurm
else
extra-libraries: slurm