packages feed

avro-0.1.0.0: avro.cabal

-- Initial avro.cabal generated by cabal init.  For further documentation,
-- see http://haskell.org/cabal/users-guide/

name:                avro
version:             0.1.0.0
synopsis:            Avro serialization support for Haskell
description:         Avro serialization and deserialization support for Haskell
homepage:            https://github.com/GaloisInc/avro.git
license:             BSD3
license-file:        LICENSE
author:              Thomas M. DuBuisson
maintainer:          tommd@galois.com
-- copyright:
category:            Data
build-type:          Simple
extra-source-files:  ChangeLog.md, test/data/reused.avsc, test/data/small.avsc, test/data/enums.avsc
cabal-version:       >=1.10

source-repository head
  type:     git
  location: https://github.com/GaloisInc/avro.git

flag dev
  default: False
  manual: True
  description: Use development GHC flags

library
  exposed-modules:      Data.Avro,
                        Data.Avro.Decode,
                        Data.Avro.DecodeRaw,
                        Data.Avro.Deconflict,
                        Data.Avro.Deriving,
                        Data.Avro.Encode,
                        Data.Avro.EncodeRaw,
                        Data.Avro.Schema,
                        Data.Avro.Types,
                        Data.Avro.Zag,
                        Data.Avro.Zig
  other-modules:        Data.Avro.Deriving.NormSchema
  other-extensions:    OverloadedStrings
  build-depends:       base >=4.8 && <5.0,
                       aeson,
                       array,
                       base16-bytestring,
                       binary,
                       bytestring,
                       containers,
                       data-binary-ieee754,
                       entropy,
                       fail,
                       hashable,
                       mtl,
                       scientific,
                       text,
                       unordered-containers,
                       vector,
                       pure-zlib,
                       semigroups,
                       tagged,
                       template-haskell
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -O2
  if flag(dev)
    ghc-options: -Wall -Werror

test-suite test
  type:                 exitcode-stdio-1.0
  default-language:     Haskell2010
  hs-source-dirs:       test
  other-modules:        Avro.Codec.ArraySpec
                      , Avro.Codec.BoolSpec
                      , Avro.Codec.CodecRawSpec
                      , Avro.Codec.DoubleSpec
                      , Avro.Codec.Int64Spec
                      , Avro.Codec.MaybeSpec
                      , Avro.Codec.NestedSpec
                      , Avro.Codec.TextSpec
                      , Avro.Codec.ZigZagSpec
                      , Avro.EncodeRawSpec
                      , Avro.THEnumSpec
                      , Avro.THReusedSpec
                      , Avro.THSimpleSpec
                      , Avro.ToAvroSpec

  main-is:              Spec.hs
  ghc-options:          -threaded
  if flag(dev)
    ghc-options: -Wall -Werror
  build-depends:        base >=4.6 && < 5
                      , avro
                      , aeson
                      , array
                      , base16-bytestring
                      , binary
                      , bytestring
                      , containers
                      , entropy
                      , extra
                      , fail
                      , hashable
                      , mtl
                      , scientific
                      , text
                      , unordered-containers
                      , vector
                      , pure-zlib
                      , semigroups
                      , tagged
                      , template-haskell
                      , hspec
                      , QuickCheck