Skip to content

Commit 5691388

Browse files
committed
format ekg-core.cabal
1 parent ddf7c1e commit 5691388

File tree

1 file changed

+54
-41
lines changed

1 file changed

+54
-41
lines changed

ekg-core.cabal

Lines changed: 54 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,30 @@
1-
cabal-version: 1.18
2-
name: ekg-core
3-
version: 0.1.1.7
4-
synopsis: Tracking of system metrics
5-
description:
6-
This library lets you defined and track system metrics.
7-
homepage: https://github.com/tibbe/ekg-core
8-
bug-reports: https://github.com/tibbe/ekg-core/issues
9-
license: BSD3
10-
license-file: LICENSE
11-
author: Johan Tibell
12-
maintainer: Johan Tibell <johan.tibell@gmail.com>,
13-
Mikhail Glushenkov <mikhail.glushenkov@gmail.com>
14-
category: System
15-
build-type: Simple
16-
extra-source-files: CHANGES.md
17-
tested-with: GHC == 8.10.1, GHC == 8.8.3, GHC == 8.6.5,
18-
GHC == 8.4.4, GHC == 8.2.2, GHC == 8.0.2,
19-
GHC == 7.10.3, GHC == 7.8.4, GHC == 7.6.3
1+
cabal-version: 1.18
2+
name: ekg-core
3+
version: 0.1.1.7
4+
synopsis: Tracking of system metrics
5+
description: This library lets you defined and track system metrics.
6+
homepage: https://github.com/tibbe/ekg-core
7+
bug-reports: https://github.com/tibbe/ekg-core/issues
8+
license: BSD3
9+
license-file: LICENSE
10+
author: Johan Tibell
11+
maintainer:
12+
Johan Tibell <johan.tibell@gmail.com>,
13+
Mikhail Glushenkov <mikhail.glushenkov@gmail.com>
14+
15+
category: System
16+
build-type: Simple
17+
extra-source-files: CHANGES.md
18+
tested-with:
19+
GHC ==7.6.3
20+
|| ==7.8.4
21+
|| ==7.10.3
22+
|| ==8.0.2
23+
|| ==8.2.2
24+
|| ==8.4.4
25+
|| ==8.6.5
26+
|| ==8.8.3
27+
|| ==8.10.1
2028

2129
library
2230
exposed-modules:
@@ -33,41 +41,46 @@ library
3341
System.Metrics.ThreadId
3442

3543
build-depends:
36-
ghc-prim < 0.8,
37-
base >= 4.6 && < 4.16,
38-
containers >= 0.5 && < 0.7,
39-
text < 1.3,
40-
unordered-containers < 0.3
44+
base >=4.6 && <4.16
45+
, containers >=0.5 && <0.7
46+
, ghc-prim <0.8
47+
, text <1.3
48+
, unordered-containers <0.3
4149

42-
default-language: Haskell2010
50+
default-language: Haskell2010
51+
ghc-options: -Wall
4352

44-
ghc-options: -Wall
4553
if arch(i386)
4654
cc-options: -march=i686
47-
includes: distrib.h
55+
56+
includes: distrib.h
4857
install-includes: distrib.h
49-
include-dirs: cbits
50-
c-sources: cbits/atomic.c cbits/distrib.c
58+
include-dirs: cbits
59+
c-sources:
60+
cbits/atomic.c
61+
cbits/distrib.c
5162

5263
benchmark counter
53-
main-is: Counter.hs
54-
type: exitcode-stdio-1.0
64+
main-is: Counter.hs
65+
type: exitcode-stdio-1.0
5566
build-depends:
56-
base,
57-
ekg-core
67+
base
68+
, ekg-core
69+
5870
default-language: Haskell2010
59-
hs-source-dirs: benchmarks
60-
ghc-options: -O2 -threaded -Wall
71+
hs-source-dirs: benchmarks
72+
ghc-options: -O2 -threaded -Wall
6173

6274
benchmark distribution
63-
main-is: Distribution.hs
64-
type: exitcode-stdio-1.0
75+
main-is: Distribution.hs
76+
type: exitcode-stdio-1.0
6577
build-depends:
66-
base,
67-
ekg-core
78+
base
79+
, ekg-core
80+
6881
default-language: Haskell2010
69-
hs-source-dirs: benchmarks
70-
ghc-options: -O2 -threaded -Wall
82+
hs-source-dirs: benchmarks
83+
ghc-options: -O2 -threaded -Wall
7184

7285
source-repository head
7386
type: git

0 commit comments

Comments
 (0)