packages feed

hw-kafka-avro-4.0.0: hw-kafka-avro.cabal

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

name:           hw-kafka-avro
version:        4.0.0
synopsis:       Avro support for Kafka infrastructure
description:    Please see README.md
category:       Services
homepage:       https://github.com/haskell-works/hw-kafka-avro#readme
bug-reports:    https://github.com/haskell-works/hw-kafka-avro/issues
author:         Alexey Raga
maintainer:     alexey.raga@gmail.com
copyright:      Alexey Raga
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/haskell-works/hw-kafka-avro

flag examples
  description: Also compile examples
  manual: True
  default: False

library
  exposed-modules:
      Kafka.Avro
      Kafka.Avro.Decode
      Kafka.Avro.Encode
      Kafka.Avro.SchemaRegistry
  other-modules:
      Paths_hw_kafka_avro
  hs-source-dirs:
      src
  build-depends:
      aeson
    , avro >=0.4
    , base >=4.7 && <5
    , binary
    , bytestring
    , cache
    , containers
    , errors
    , hashable
    , http-client
    , http-types
    , lens
    , mtl
    , pure-zlib >=0.6
    , semigroups
    , tagged
    , text
    , transformers
    , unordered-containers
    , wreq
  default-language: Haskell2010

executable kafka-avro-example
  main-is: Main.hs
  other-modules:
      Message
      Paths_hw_kafka_avro
  hs-source-dirs:
      example
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      aeson
    , avro
    , base
    , binary
    , bytestring
    , cache
    , containers
    , errors
    , hashable
    , http-client
    , hw-kafka-avro
    , mtl
    , pure-zlib >=0.6
    , semigroups
    , text
    , transformers
    , unordered-containers
  if !(flag(examples))
    buildable: False
  default-language: Haskell2010

test-suite kafka-avro-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_hw_kafka_avro
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      QuickCheck
    , aeson
    , avro
    , base
    , binary
    , bytestring
    , cache
    , containers
    , errors
    , hashable
    , hspec
    , http-client
    , hw-kafka-avro
    , mtl
    , pure-zlib >=0.6
    , semigroups
    , text
    , transformers
    , unordered-containers
  default-language: Haskell2010