packages feed

nagios-plugin-ekg-0.1.1.0: nagios-plugin-ekg.cabal

name:                nagios-plugin-ekg
version:             0.1.1.0
synopsis:            Monitor ekg metrics via Nagios
description:         A generic Nagios plugin which retrieves metrics
                     from an application which uses
                     <http://hackage.haskell.org/package/ekg ekg>.
homepage:            https://github.com/fractalcat/nagios-plugin-ekg
license:             MIT
license-file:        LICENSE
author:              Sharif Olorin
maintainer:          sio@tesser.org
copyright:           2015 Sharif Olorin and Anchor Systems
category:            System
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

source-repository    head
  type:              git
  location:          git@github.com:fractalcat/nagios-plugin-ekg.git

library
  exposed-modules:     System.Nagios.Plugin.Ekg
                       System.Nagios.Plugin.Ekg.Types
                       System.Nagios.Plugin.Ekg.Check
  build-depends:       base >= 4.7 && <5,
                       nagios-check >= 0.3.1,
                       transformers,
                       bytestring,
                       optparse-applicative,
                       lens,
                       aeson,
                       wreq,
                       text,
                       unordered-containers,
                       containers
  hs-source-dirs:      lib
  default-language:    Haskell2010

executable check_ekg
  main-is:             Main.hs
  build-depends:       base >=4.7 && <5,
                       nagios-check >= 0.3,
                       text,
                       nagios-plugin-ekg
  hs-source-dirs:      src
  default-language:    Haskell2010

test-suite sample-data
  hs-source-dirs:      tests
  main-is:             SampleData.hs
  type:                exitcode-stdio-1.0
  default-language:    Haskell2010
  build-depends:       base >=4.5 && <5,
                       HUnit,
                       bytestring,
                       hspec,
                       nagios-check,
                       nagios-plugin-ekg,
                       text,
                       transformers