packages feed

hsyslog-udp-0.2.5: hsyslog-udp.cabal

name:                   hsyslog-udp
version:                0.2.5
synopsis:               Log to syslog over a network via UDP
description:            Supports <https://tools.ietf.org/html/rfc5424 RFC 5424>,
                        <https://tools.ietf.org/html/rfc3164 RFC 3164>, or any
                        arbitrary protocol.
homepage:               https://github.com/k-bx/hsyslog-udp
bug-reports:            https://github.com/k-bx/hsyslog-udp/issues
license:                BSD3
license-file:           LICENSE
author:                 Jon Childress <jon@childr.es>
maintainer:             Konstantine Rybnikov <k-bx@k-bx.com>
category:               System
build-type:             Simple
extra-source-files:     README.md
cabal-version:          >= 1.10

Source-Repository head
  type:                 git
  location:             git://github.com/k-bx/hsyslog-udp.git

flag network--GE-3_0_0
  description: [network](http://hackage.haskell.org/package/network) ≥ 3.0.0
  default: True
  manual: False

library
  default-language:     Haskell2010
  hs-source-dirs:       src
  ghc-options:          -Wall
  exposed-modules:      System.Posix.Syslog.UDP

  Build-Depends:        base >= 3 && < 5
                      , bytestring < 0.11
                      , hsyslog >= 5 && < 6
                      , text < 1.3
                      , time < 1.10
                      , unix < 2.8
  if flag(network--GE-3_0_0)
    build-depends: network-bsd >= 2.8.1 && <2.9,
                   network >= 3.0 && <3.2
  else
    build-depends: network >= 2.6.3.1 && <2.9

test-suite specs
  default-language:     Haskell2010
  hs-source-dirs:       test
  main-is:              Main.hs
  type:                 exitcode-stdio-1.0
  other-modules:        System.Posix.Syslog.UDPSpec

  Build-Depends:        base
                      , hspec
                      , hsyslog-udp
                      , time