packages feed

ping-wrapper-0.1.0.0: ping-wrapper.cabal

name:                ping-wrapper
version:             0.1.0.0
synopsis:            Haskell Ping wrapper
description:
  This utility is a wrapper for ping. Currently it is only implemented the
  win32 and it will raise an exception in other systems.
homepage:            https://github.com/frincon/ping-wrapper
license:             Apache-2.0
license-file:        LICENSE
author:              Fernando Rincon Martin
maintainer:          frm.rincon@gmail.com
copyright:           (c) 2017, Fernando Rincon Martin
category:            Attoparsec, Parsers
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  if os(win32)
    hs-source-dirs:    win32/src
  if os(linux)
    hs-source-dirs:    linux/src
  exposed-modules:     Ping
  other-modules:       Ping.CommonTypes
                     , Ping.Platform
  build-depends:       base >= 4.7 && < 5
                     , ping-parser-attoparsec
                     , attoparsec
                     , placeholders
                     , process
                     , text
                     , either
  default-language:    Haskell2010

executable ping-wrapper
  hs-source-dirs:      app
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , ping-wrapper
                     , optparse-generic
                     , optparse-applicative
  default-language:    Haskell2010

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

source-repository head
  type:     git
  location: https://github.com/frincon/ping-wrapper