packages feed

borel-0.18.0: borel.cabal

name:                borel
version:             0.18.0
synopsis:            Metering System for OpenStack metrics provided by Vaultaire.
description:         Leverages Ceilometer, Chevalier and Marquise to meter OpenStack data.
homepage:            https://github.com/anchor/borel-core
license:             BSD3
license-file:        LICENSE
author:              Anchor Engineering <engineering@anchor.com.au>
maintainer:          Anchor Engineering <engineering@anchor.com.au>
copyright:           © 2014-2015 Anchor Systems, Pty Ltd and Others
tested-with:         GHC == 7.8.3
stability:           experimental
category:            Development
build-type:          Simple
cabal-version:       >=1.18

flag network-uri
   description: Get Network.URI from the network-uri package
   default: True

source-repository head
  type:                git
  location:            git@github.com:anchor/borel.git

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

  exposed-modules:   Borel
                     Borel.Types

  other-modules:     Borel.Types.UOM
                     Borel.Types.Metric
                     Borel.Types.Result
                     Borel.Error
                     Borel.Marquise
                     Borel.Chevalier
                     Borel.Ceilometer
                     Borel.Ceilometer.Instance

  if flag(network-uri)
     build-depends: network-uri >= 2.6, network >= 2.6
  else
     build-depends: network-uri < 2.6, network < 2.6

  build-depends:     base >=4.7 && <4.8
                   , aeson >= 0.8
                   , async
                   , attoparsec >= 0.12
                   , bimap >= 0.2
                   , cassava >= 0.4
                   , containers >=0.5 && <0.6
                   , unordered-containers >= 0.2.4
                   , configurator >= 0.3
                   , errors >= 1.4
                   , hslogger >= 1.2
                   , lens >= 4.6
                   , mtl >= 2.1
                   , multiset >= 0.2
                   , pipes >= 4.1
                   , pipes-concurrency >=2.0
                   , pipes-safe >= 2.2
                   , text >= 1.2
                   , time >= 1.4
                   , transformers >= 0.3
                   , vector >= 0.10
                   , zeromq4-haskell >= 0.6.3
                   , ceilometer-common >= 0.2.2
                   , chevalier-common >= 0.4.0
                   , marquise >= 4.0.0
                   , vaultaire-common >= 2.8.3

  ghc-options:       -O2
                     -Wall
                     -Wwarn
                     -fwarn-tabs

  ghc-prof-options:  -fprof-auto

test-suite unit
  type:                exitcode-stdio-1.0
  default-language:    Haskell2010
  hs-source-dirs:      tests,lib

  main-is:             Main.hs

  if flag(network-uri)
     build-depends: network-uri >= 2.6, network >= 2.6
  else
     build-depends: network-uri < 2.6, network < 2.6

  build-depends:     base >=4.7 && < 5
                   , lens-properties >= 4.7
                   , hspec >= 2.1
                   , QuickCheck >= 2.7
                   , aeson >= 0.8
                   , async
                   , cassava >= 0.4
                   , attoparsec >= 0.12
                   , bimap >= 0.2
                   , containers >=0.5 && <0.6
                   , unordered-containers >= 0.2.4
                   , configurator >= 0.3
                   , errors >= 1.4
                   , either >= 4.3
                   , hslogger >= 1.2
                   , lens >= 4.6
                   , mtl >= 2.1
                   , multiset >= 0.2
                   , pipes >= 4.1
                   , pipes-concurrency >= 2.0
                   , pipes-safe >= 2.2
                   , text >= 1.2
                   , time >= 1.4
                   , transformers >= 0.3
                   , vector >= 0.10
                   , zeromq4-haskell >= 0.6.3
                   , ceilometer-common >= 0.2.2
                   , chevalier-common >= 0.4.0
                   , marquise >= 4.0.0
                   , vaultaire-common >= 2.8.3