packages feed

attomail-0.1.0.2: attomail.cabal

name:                attomail
version:             0.1.0.2
category:            Network, Email   
build-type:          Simple
cabal-version:       >=1.10
synopsis:            Minimal mail delivery agent (MDA) for local mail with maildir support 
description:
  Acts as a minimal (local delivery only, many features un-implemented) mail
  delivery agent (or MDA), delivering mail to a local @maildir@ format spool.
  Handy when you don't want to install an MTA (Mail Transfer Agent) or
  fuller-featured MDA - you just want a program which accepts 
  @sendmail@-style delivery of messages from local programs, and dumps them
  somewhere you can read them.
license:             BSD2
license-file:        LICENSE
author:              phlummox
maintainer:          phlummox2@gmail.com
copyright:           phlummox 2017
extra-source-files:  README.md, stack.yaml, ChangeLog.md 

source-repository head
  type:     git
  location: https://github.com/phlummox/attomail

executable attomail
  hs-source-dirs:      src
  main-is:             Main.hs
  default-language:    Haskell2010
  build-depends:       
                       base >= 4.4 && < 5
                     , bytestring
                     , directory >= 1.2.2.0
                     , MissingH
                      -- used for Data.Either.Utils
                     , mtl
                     , network
                     -- used for getHostName
                     , parsec
                     , random 
                     , text
                     , time
                     , transformers
                     , unix
                     , unix-time
                     -- 
                     , ConfigFile
                     , email-validate >= 2.2.0
                     , hsemail-ns >= 1.7.7
                     , optparse-applicative
  other-modules:
                       CmdArgs
                     , EmailAddress
                     , ConfigLocation
                     , DeliveryHeaders
  if impl(ghc >=8)
    ghc-options:       -Wall -Wno-name-shadowing -Wno-deprecations
  else
    ghc-options:       -Wall 

test-suite attomail-doctest
  type:              exitcode-stdio-1.0
  default-language:  Haskell2010
  ghc-options:       -Wall -threaded -rtsopts -with-rtsopts=-N
  hs-source-dirs:    src-doctest
  main-is:           Main.hs
  build-depends:     base >= 4 && < 5
                   , doctest >=0.10
                   , Glob >= 0.7
                   , QuickCheck >= 2.5