packages feed

ridley-extras-0.1.2.0: ridley-extras.cabal

name:                ridley-extras
version:             0.1.2.0
synopsis:            Handy metrics that don't belong to ridley.
description:         See README.md
homepage:            https://github.com/iconnect/ridley/ridley-extras#readme
license:             BSD3
license-file:        LICENSE
author:              Alfredo Di Napoli
maintainer:          chrisd@irisconnect.co.uk
copyright:           2017 Alfredo Di Napoli & IRIS Connect Engineering Team
category:            Web
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

flag lib-Werror
     manual: True
     default: False
     description: Enable -Werror

library
  hs-source-dirs:      src
  exposed-modules:     System.Metrics.Prometheus.Ridley.Metrics.FD
  build-depends:       base >= 4.7 && < 5,
                       text,
                       prometheus < 3,
                       shelly < 1.9.0.0,
                       microlens,
                       ekg-prometheus-adapter < 0.2.0.0,
                       mtl,
                       transformers,
                       ridley >= 0.3.3.0 && < 0.4.0.0
  if flag(lib-Werror)
    ghc-options: -Wall -Werror
  default-language:    Haskell2010

test-suite ridley-extras-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , ridley-extras
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/iconnect/ridley