packages feed

vflow-types-0.1: vflow-types.cabal

cabal-version: 2.2
name:
  vflow-types
version:
  0.1
synopsis:
  types for ingesting vflow data with aeson
description:
  `vflow-types` provides types suitable for ingesting vflow data with aeson.
  .
  Verizon Digital's <https://github.com/VerizonDigital/vflow vflow> is a network flow collector. Features:
  .
  * IPFIX RFC7011 collector
  .
  * sFlow v5 raw header / counters collector
  .
  * Netflow v5 collector
  .
  * Netflow v9 collector
  .
  * Decoding sFlow raw header L2/L3/L4
  .
  * Producer to Apache Kafka, NSQ, NATS
  .
  * Replicate IPFIX to 3rd party collector
  .
  * Support for IPv4 and IPv6
  .
  * Monitoring with InfluxDB and OpenTSDB backend
  .
  * Easy integration with JUNOS
  .
  Note that this is not an official Verizon Digital product.
homepage:
  https://github.com/chessai/vflow-types
bug-reports:
  https://github.com/chessai/vflow-types/issues
license:
  BSD-3-Clause
license-file:
  LICENSE
author:
  chessai
maintainer:
  chessai <chessai1996@gmail.com>
copyright:
  © 2019 chessai
category:
  Utility,Data,Parsing,Text
build-type:
  Simple
extra-doc-files:
    README.md
  , CHANGELOG.md
tested-with:
  GHC == 8.4.4, GHC == 8.6.3

library
  hs-source-dirs:
    src
  exposed-modules:
    VFlow.Types.IpFix
    VFlow.Types.SFlow
    VFlow.Types.NetFlow5
    VFlow.Types.NetFlow9
  build-depends:
    , aeson >= 1 && < 1.5
    , base >= 4.10.1 && < 4.13
    , ip >= 1.5 && < 1.6
    , json-alt >= 1 && < 1.1
    , json-autotype >= 3 && < 4
    , scientific >= 0.3 && < 0.4
    , text >= 1.2 && < 1.3
  ghc-options:
    -Wall
  default-language:
    Haskell2010

test-suite unit-tests
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: UnitTests.hs
  build-depends:
    , base
    , vflow-types
    , bytestring
    , text
    , aeson
    , neat-interpolation
  default-language:
    Haskell2010

test-suite laws
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Laws.hs
  build-depends:
    , base
    , vflow-types
    , QuickCheck
    , quickcheck-classes
    , json-alt
    , ip
  default-language:
    Haskell2010

source-repository head
  type:
    git
  location:
    https://github.com/chessai/vflow-types.git