packages feed

asif-3.4.0: asif.cabal

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

name:           asif
version:        3.4.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:         Arbor Networks
maintainer:     mayhem@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:
      base >= 4.7 && < 5
    , attoparsec
    , binary
    , bytestring
    , conduit
    , conduit-combinators
    , conduit-extra
    , containers
    , cpu
    , either
    , exceptions
    , foldl
    , generic-lens
    , hw-bits
    , hw-ip
    , iproute
    , lens
    , network
    , old-locale
    , profunctors
    , resourcet
    , temporary-resourcet
    , text
    , thyme
    , transformers
    , 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.Format.Text
      Arbor.File.Format.Asif.Get
      Arbor.File.Format.Asif.IO
      Arbor.File.Format.Asif.Lookup
      Arbor.File.Format.Asif.Segment
      Arbor.File.Format.Asif.Type
      Arbor.File.Format.Asif.Whatever
      Arbor.File.Format.Asif.Write
  other-modules:
      Arbor.File.Format.Asif.Format.SegmentValue
      Arbor.File.Format.Asif.Format.Type
      Arbor.File.Format.Asif.List
      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:
      base >= 4.7 && < 5
    , attoparsec
    , binary
    , bytestring
    , conduit
    , conduit-combinators
    , conduit-extra
    , containers
    , cpu
    , either
    , exceptions
    , foldl
    , generic-lens
    , hw-bits
    , hw-ip
    , iproute
    , lens
    , network
    , old-locale
    , profunctors
    , resourcet
    , temporary-resourcet
    , text
    , thyme
    , transformers
    , vector
    , asif
    , directory
    , optparse-applicative
  other-modules:
      App.Commands
      App.Commands.Dump
      App.Commands.DumpBitmap
      App.Commands.DumpOnly
      App.Commands.EncodeFiles
      App.Commands.ExtractFiles
      App.Commands.ExtractSegments
      App.Commands.Ls
      App.Commands.Options.Type
      App.Dump
      App.IO
  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:
      base >= 4.7 && < 5
    , attoparsec
    , binary
    , bytestring
    , conduit
    , conduit-combinators
    , conduit-extra
    , containers
    , cpu
    , either
    , exceptions
    , foldl
    , generic-lens
    , hw-bits
    , hw-ip
    , iproute
    , lens
    , network
    , old-locale
    , profunctors
    , resourcet
    , temporary-resourcet
    , text
    , thyme
    , transformers
    , vector
    , asif
    , hspec
    , hedgehog
    , hw-hspec-hedgehog
  other-modules:
      Arbor.File.Format.Asif.ByteString.BuilderSpec
      Arbor.File.Format.Asif.Data.IpSpec
      Arbor.File.Format.Asif.Format.SegmentValueSpec
      Arbor.File.Format.Asif.Format.TextSpec
      Arbor.File.Format.Asif.WriteSpec
      Arbor.File.Format.AsifSpec
      Arbor.TestUtils
      Gen.Feed
      TestApp
  default-language: Haskell2010