packages feed

asif-1.0.0: asif.cabal

-- This file has been generated from package.yaml by hpack version 0.28.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: 975b1a79df9badb8768dba82941d8968275d859920847e829d62a65978901884

name:           asif
version:        1.0.0
description:    Please see the README on Github at <https://github.com/packetloop/asif#readme>
category:       Services
homepage:       https://github.com/packetloop/asif#readme
bug-reports:    https://github.com/packetloop/asif/issues
author:         Tyler Durden
maintainer:     tyler.durden@arbor.net
copyright:      Arbor Networks
license:        MIT
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10
extra-source-files:
    ChangeLog.md
    README.md

source-repository head
  type: git
  location: https://github.com/packetloop/asif

library
  hs-source-dirs:
      src
  default-extensions: BangPatterns FlexibleContexts FlexibleInstances GeneralizedNewtypeDeriving MultiParamTypeClasses OverloadedStrings TupleSections
  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
  build-depends:
      attoparsec
    , base >=4.7 && <5
    , binary
    , bytestring
    , conduit
    , conduit-combinators
    , conduit-extra
    , containers
    , cpu
    , either
    , exceptions
    , hw-bits
    , iproute
    , lens
    , old-locale
    , resourcet
    , temporary-resourcet
    , text
    , thyme
    , vector
  exposed-modules:
      Arbor.File.Format.Asif
      Arbor.File.Format.Asif.ByIndex
      Arbor.File.Format.Asif.ByteString
      Arbor.File.Format.Asif.ByteString.Builder
      Arbor.File.Format.Asif.ByteString.Lazy
      Arbor.File.Format.Asif.Data.Ip
      Arbor.File.Format.Asif.Data.Read
      Arbor.File.Format.Asif.Extract
      Arbor.File.Format.Asif.Format
      Arbor.File.Format.Asif.Get
      Arbor.File.Format.Asif.IO
      Arbor.File.Format.Asif.Lens
      Arbor.File.Format.Asif.Lookup
      Arbor.File.Format.Asif.Segment
      Arbor.File.Format.Asif.Type
      Arbor.File.Format.Asif.Whatever
  other-modules:
      Arbor.File.Format.Asif.Maybe
      Arbor.File.Format.Asif.Text
      Paths_asif
  default-language: Haskell2010

executable asif
  main-is: Main.hs
  hs-source-dirs:
      app
  default-extensions: BangPatterns FlexibleContexts FlexibleInstances GeneralizedNewtypeDeriving MultiParamTypeClasses OverloadedStrings TupleSections
  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -threaded -rtsopts -O2 -msse4.2
  build-depends:
      asif
    , attoparsec
    , base >=4.7 && <5
    , binary
    , bytestring
    , conduit
    , conduit-combinators
    , conduit-extra
    , containers
    , cpu
    , directory
    , either
    , exceptions
    , hw-bits
    , iproute
    , lens
    , old-locale
    , optparse-applicative
    , resourcet
    , temporary-resourcet
    , text
    , thyme
    , vector
  other-modules:
      App.Commands
      App.Commands.Dump
      App.Commands.EncodeFiles
      App.Commands.ExtractFiles
      App.Commands.ExtractSegments
      App.Commands.Options.Lens
      App.Commands.Options.Type
      App.IO
      Paths_asif
  default-language: Haskell2010

test-suite asif-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  hs-source-dirs:
      test
  default-extensions: BangPatterns FlexibleContexts FlexibleInstances GeneralizedNewtypeDeriving MultiParamTypeClasses OverloadedStrings TupleSections
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      arbor-ip
    , asif
    , attoparsec
    , base >=4.7 && <5
    , binary
    , bytestring
    , conduit
    , conduit-combinators
    , conduit-extra
    , containers
    , cpu
    , either
    , exceptions
    , hedgehog
    , hspec
    , hw-bits
    , hw-hspec-hedgehog
    , iproute
    , lens
    , old-locale
    , resourcet
    , temporary-resourcet
    , text
    , thyme
    , vector
  other-modules:
      Arbor.File.Format.Asif.ByteString.BuilderSpec
      Arbor.File.Format.Asif.Data.IpSpec
      Arbor.File.Format.AsifSpec
      Gen.Feed
      TestApp
      Paths_asif
  default-language: Haskell2010