-
Notifications
You must be signed in to change notification settings - Fork 0
/
mem-info.cabal
102 lines (88 loc) · 2.87 KB
/
mem-info.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
cabal-version: 3.0
name: mem-info
version: 0.3.0.0
synopsis: Print the core memory usage of programs
description:
A utility to accurately report the core memory usage of programs.
This is a clone of
[ps_mem](https://github.com/pixelb/ps_mem/blob/master/README.md), which is
written in python
The package provides:
* an executable command `printmem` that is like `ps_mem` with extra features
* a library to enable core memory tracking on linux in haskell programs
See the [README](https://github.com/adetokunbo/mem-info/blob/master/README.md)
for further details
license: BSD-3-Clause
license-file: LICENSE
author: Tim Emiola
maintainer: [email protected]
category: Command Line Tools, system
homepage: https://github.com/adetokunbo/mem-info#readme
bug-reports: https://github.com/adetokunbo/mem-info/issues
build-type: Simple
extra-source-files: ChangeLog.md
source-repository head
type: git
location: https://github.com/adetokunbo/mem-info.git
library
exposed-modules:
System.MemInfo
System.MemInfo.Choices
System.MemInfo.Print
System.MemInfo.Proc
System.MemInfo.SysInfo
other-modules:
System.MemInfo.Prelude
hs-source-dirs: src
build-depends:
, base >=4.10 && <5
, bytestring >=0.10.8.2 && <0.11 || >=0.11.3.1 && <0.13
, containers >=0.6.5 && <0.8
, directory >=1.3.6 && <1.5
, filepath >=1.4.2 && <1.6
, fmt >=0.6.3 && <0.8
, hashable >=1.4.2 && <1.6
, optparse-applicative >=0.18.1 && <0.19
, text >=1.2.3 && <2.2
, unix >=2.7.2 && <2.9
, validity >=0.12.0 && <0.14
, validity-text >=0.3.1 && <0.4.1
default-language: Haskell2010
ghc-options:
-Wall -Wincomplete-uni-patterns -Wpartial-fields -fwarn-tabs
test-suite test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
other-modules:
MemInfo.ChoicesSpec
MemInfo.OrphanInstances
MemInfo.PrintSpec
MemInfo.ProcSpec
MemInfo.SysInfoSpec
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fwarn-tabs
build-depends:
, base
, fmt
, genvalidity
, genvalidity-hspec
, genvalidity-text
, hashable
, hspec
, mem-info
, optparse-applicative >=0.18.1 && <0.19
, QuickCheck
, text
, unix
-- printmem is the printmem command
executable printmem
main-is: PrintMem.hs
hs-source-dirs: exe
default-language: Haskell2010
build-depends:
, base >=4.14 && <5
, mem-info
ghc-options: -threaded -rtsopts -with-rtsopts=-N
ghc-options:
-Wall -Wincomplete-uni-patterns -Wpartial-fields -fwarn-tabs