packages feed

statgrab-0.1.0: statgrab.cabal

name:                  statgrab
version:               0.1.0
synopsis:              Collect system level metrics and statistics
homepage:              http://github.com/brendanhay/statgrab
license:               OtherLicense
license-file:          LICENSE
author:                Brendan Hay
maintainer:            Brendan Hay <brendan.g.hay@gmail.com>
copyright:             Copyright (c) 2013 Brendan Hay
stability:             Experimental
category:              System, FFI, Monitoring
build-type:            Simple
cabal-version:         >= 1.10

description:
    Provides an interface to the cross platform system statistics C library libstatgrab.
    .
    It supports a wide range of system statistics including CPU usage, memory utilisation,
    disk usage, process counts, network traffic, disk I/O, and more.
    .
    The current list of supported and tested platforms for the underlying library
    includes OSX, FreeBSD, Linux, NetBSD, OpenBSD, Solaris, DragonFly BSD, HP-UX and AIX.
    .
    /Requirements:/
    .
    * libstatgrab @0.9.0@ must be installed on the target system.
    .
    * Be aware that currently these bindings have been developed and tested
      only on OSX/Linux.

extra-source-files:
    README.md

source-repository head
    type:     git
    location: git://github.com/brendanhay/statgrab.git

library
    default-language:  Haskell2010
    hs-source-dirs:    src

    exposed-modules:
        System.Statgrab

    other-modules:
        System.Statgrab.Base
      , System.Statgrab.Internal

    ghc-options:
        -Wall -O2

    build-depends:
        async
      , base                      >= 4 && < 5
      , bytestring
      , MonadCatchIO-transformers
      , time
      , transformers

    extra-libraries:
        statgrab

    includes:
        statgrab.h