packages feed

syslog-0.1.0.0: syslog.cabal

cabal-version:   2.4
name:            syslog
version:         0.1.0.0
synopsis:        Decode RFC 3164 and RFC 5424 syslog message formats
description:
  Decode syslog messages that were formatted using RFC 3164 (BSD-syslog) or
  RFC 5424 (IETF-syslog).

homepage:        https://github.com/byteverse/syslog
bug-reports:     https://github.com/byteverse/syslog/issues
license:         BSD-3-Clause
license-file:    LICENSE
author:          Andrew Martin
maintainer:      amartin@layer3com.com
copyright:       2020 Andrew Martin
category:        Data
build-type:      Simple
extra-doc-files: CHANGELOG.md
tested-with:     GHC ==9.4.8 || ==9.6.3 || ==9.8.1

common build-settings
  default-language: Haskell2010
  ghc-options:      -Wall -Wunused-packages

library
  import:          build-settings
  exposed-modules:
    Syslog.Bsd
    Syslog.Ietf

  build-depends:
    , base                    >=4.12  && <5
    , byteslice               >=0.2.6
    , bytesmith               >=0.3.6
    , chronos                 >=1.1
    , contiguous              >=0.5.1
    , primitive               >=0.7.1
    , run-st                  >=0.1.1
    , unpacked-maybe-numeric  >=0.1.1

  hs-source-dirs:  src
  ghc-options:     -O2

test-suite test
  import:         build-settings
  type:           exitcode-stdio-1.0
  hs-source-dirs: test
  main-is:        Main.hs
  build-depends:
    , base       >=4.12.0.0 && <5
    , byteslice  >=0.2
    , primitive  >=0.7.1
    , syslog

source-repository head
  type:     git
  location: git://github.com/byteverse/syslog.git