packages feed

flink-statefulfun-0.1.0.0: flink-statefulfun.cabal

cabal-version:       2.4
-- Initial package description 'policy.cabal' generated by 'cabal init'.
-- For further documentation, see http://haskell.org/cabal/users-guide/

name:                flink-statefulfun
version:             0.1.0.0
synopsis:            Flink stateful functions SDK
description:
    Typeclasses for serving Flink stateful functions
    from Haskell.
-- bug-reports:
license:             MPL-2.0
license-file:        LICENSE
author:              Timothy Bess
maintainer:          tdbgamer@gmail.com
-- copyright:
-- category:

-- build-type:          Simple
build-type: Custom

extra-source-files:  CHANGELOG.md
                     proto/**/*.proto

custom-setup
  setup-depends: base, Cabal, proto-lens-setup

library
  ghc-options:         -Wall
  build-tool-depends:  proto-lens-protoc:proto-lens-protoc
  hs-source-dirs:      src
  autogen-modules:     Proto.RequestReply Proto.RequestReply_Fields
                       Proto.Kafka Proto.Kafka_Fields
  other-modules:       Network.Flink.ProtoServant
  exposed-modules:     Network.Flink.Stateful
                       Proto.RequestReply Proto.RequestReply_Fields
                       Proto.Kafka Proto.Kafka_Fields
  -- exposed-modules:
  -- other-extensions:
  build-depends:       base >= 4.0 && < 4.15
                     , text >= 1.0 && < 1.3
                     , bytestring >= 0.10 && < 0.11
                     , either >= 5 && < 5.1
                     , containers >= 0.5 && < 0.7
                     , wai >= 3 && < 3.3
                     , warp >= 3 && < 3.4
                     , http-types >= 0.10 && < 0.13
                     , http-media >= 0.7 && < 0.9
                     , mtl >= 2 && < 2.3
                     , lens-family >= 2 && < 2.2
                     , proto-lens >= 0.5 && < 0.8
                     , proto-lens-runtime >= 0.5 && < 0.8
                     , proto-lens-protobuf-types >= 0.5 && < 0.8
                     , servant >= 0.16 && < 0.19
                     , servant-server >= 0.16 && < 0.19

  default-extensions:  OverloadedStrings
                       QuasiQuotes
                       StrictData
                       GeneralizedNewtypeDeriving
                       FlexibleContexts
                       FlexibleInstances
                       LambdaCase
                       TupleSections
                       DataKinds
                       TypeOperators
                       DeriveGeneric
                       DeriveFunctor
                       ExistentialQuantification
                       MultiParamTypeClasses
                       FunctionalDependencies
                       ConstraintKinds

  default-language:    Haskell2010