packages feed

helics-0.2.0: helics.cabal

name:                helics
version:             0.2.0
synopsis:            New Relic® agent SDK wrapper for Haskell.
description:         
  New Relic® agent SDK wrapper for Haskell.
  .
  Please get New Relic Agent SDK(<https://docs.newrelic.com/docs/agents/agent-sdk/using-agent-sdk/getting-started-agent-sdk>) before you install this package.
  .
  Copy include\/lib dir of SDK to system include\/lib path, or specify extra include\/lib path when installing this package.
  .
  @
  cabal insstall helics --extra-lib-dirs=$SDK_LIB_DIR --extra-include-dir=$SDK_INCLUDE_DIR
  @
  .

license:             MIT
license-file:        LICENSE
author:              HirotomoMoriwaki<philopon.dependence@gmail.com>
maintainer:          HirotomoMoriwaki<philopon.dependence@gmail.com>
Homepage:            https://github.com/philopon/helics
Bug-reports:         https://github.com/philopon/helics/issues
copyright:           (c) 2014 Hirotomo Moriwaki
category:            Network
stability:           experimental
build-type:          Custom
cabal-version:       >=1.10

flag example
  default: False

library
  exposed-modules:     Network.Helics
                       Network.Helics.Sampler
  other-modules:       Network.Helics.Foreign.Common
                       Network.Helics.Foreign.Client
                       Network.Helics.Foreign.Transaction
                       Network.Helics.Foreign.System
  -- other-extensions:    
  build-depends:       base               >=4.6  && <4.8
                     , data-default-class >=0.0  && <0.1
                     , time               >=1.2  && <1.6
                     , unix               >=2.6  && <2.8
                     , bytestring         >=0.10 && <0.11
                     , bytestring-show    >=0.3  && <0.4
  ghc-options:         -Wall -O2
  hs-source-dirs:      src
  build-tools:         hsc2hs
  extra-libraries:     newrelic-collector-client
                     , newrelic-transaction
                     , newrelic-common
  default-language:    Haskell2010

executable helics-example
  main-is:             example.hs
  if flag(example)
    build-depends:       base               >=4.6 && <4.8
                       , helics
                       , bytestring
    buildable:         True
  else
    buildable:         False
  ghc-options:         -Wall -O2 -threaded
  default-language:    Haskell2010