packages feed

mail-pool-2.3.1: mail-pool.cabal

cabal-version:      3.0

name:           mail-pool
version:        2.3.1
synopsis:       Preconfigured email connection pool on top of smtp.
description:    Email helper functions with some sane defaults such as a resource pool and cli support
category:       Email
homepage:       https://github.com/jappeace/email-pool#readme
bug-reports:    https://github.com/jappeace/email-pool/issues
author:         Jappie Klooster
maintainer:     jappieklooster@hotmail.com
copyright:      2019 Jappie Klooster
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    Readme.md
    LICENSE

extra-doc-files:
    Changelog.md

source-repository head
  type: git
  location: https://github.com/jappeace/email-pool

common common-options
  default-extensions: 
      EmptyCase
      FlexibleContexts
      FlexibleInstances
      InstanceSigs
      MultiParamTypeClasses
      LambdaCase
      MultiWayIf
      NamedFieldPuns
      TupleSections
      DeriveFoldable
      DeriveFunctor
      DeriveGeneric
      DeriveLift
      DeriveTraversable
      DerivingStrategies
      GeneralizedNewtypeDeriving
      StandaloneDeriving
      OverloadedStrings
      TypeApplications
      NumericUnderscores

  ghc-options:
    -O2 -Wall -Wincomplete-uni-patterns
    -Wincomplete-record-updates -Widentities -Wredundant-constraints
    -Wcpp-undef -fwarn-tabs -Wpartial-fields
    -fdefer-diagnostics -Wunused-packages
    -fenable-th-splice-warnings
    -fno-omit-yields
    -threaded

  build-depends:
      base >=4.9.1.0 && <4.21.0

  default-language: Haskell2010

library
  import: common-options
  exposed-modules:
      Network.Mail.Pool
  other-modules:
      Paths_mail_pool
  autogen-modules:
      Paths_mail_pool
  hs-source-dirs:
      src
  build-depends:
      HaskellNet >=0.6.0 && < 1.0
    , HaskellNet-SSL >=0.3.4.1
    , aeson >=1.4
    , base >=4.7 && <5
    , microlens >=0.4.10
    , mime-mail >=0.4.14
    , network >=2.8.0.0
    , optparse-applicative >=0.14.3.0
    , resource-pool >=0.4.0.0 && < 1.0
  default-language: Haskell2010

executable exe
  import: common-options
  main-is: mail.hs
  other-modules:
      Paths_mail_pool
  autogen-modules:
      Paths_mail_pool
  hs-source-dirs:
      app
  build-depends:
      mail-pool
    , mime-mail >=0.4.14
    , optparse-applicative >=0.14.3.0
  default-language: Haskell2010