packages feed

ping-parser-attoparsec-0.1.0.0: ping-parser-attoparsec.cabal

name:                ping-parser-attoparsec
version:             0.1.0.0
stability:           experimental
synopsis:            Attoparsec parsers of ping utility
description:
    Attoparsec parsers of the output of ping utility. Currently there is only
    one implementation for the Win32 version of ping and only support IPv4.
homepage:            https://github.com/frincon/ping-parser-attoparsec
bug-reports:         https://github.com/frincon/ping-parser-attoparsec/issues
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
  exposed-modules:     Data.Attoparsec.Ping
                     , Data.Attoparsec.Ping.Win32
  build-depends:       base >= 4.7 && < 5
                     , placeholders
                     , attoparsec
                     , text
                     , iproute
  default-language:    Haskell2010

executable ping-parser-attoparsec-exe
  hs-source-dirs:      app
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , ping-parser-attoparsec
                     , placeholders
  default-language:    Haskell2010

test-suite ping-parser-attoparsec-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  other-modules:       Spec.Win32
  build-depends:       base
                     , ping-parser-attoparsec
                     , hspec
                     , attoparsec
                     , QuickCheck
                     , quickcheck-text
                     , iproute
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

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