packages feed

imm-0.6.0.3: imm.cabal

Name:                imm
Version:             0.6.0.3
Synopsis:            Retrieve RSS/Atom feeds and write one mail per new item in a maildir.
Description:         Cf README
--Homepage:
Category:            Web

License:             OtherLicense
License-file:        LICENSE
-- Copyright:
Author:              kamaradclimber, koral
Maintainer:          koral att mailoo dott org

Cabal-version:       >=1.8
Build-type:          Simple
Extra-source-files:  README

Source-repository head
    Type:     mercurial
    Location: https://bitbucket.org/k0ral/imm

flag network-uri
   description: Get Network.URI from the network-uri package
   default: True

Library
    Exposed-modules:
        Imm,
        Imm.Boot,
        Imm.Config,
        Imm.Core,
        Imm.Database,
        Imm.Error,
        Imm.Feed,
        Imm.HTTP,
        Imm.Mail,
        Imm.Maildir,
        Imm.Util
    Other-modules:
        Imm.Dyre,
        Imm.OPML,
        Imm.Options,
        Paths_imm
    Build-depends:
        async,
        base == 4.*,
        bytestring,
        case-insensitive,
        cond,
        data-default,
        directory,
        dyre,
        feed == 0.3.9.2,
        filepath,
        hslogger,
        http-conduit >= 2.0 && < 2.2,
        http-types,
        lens,
        mime-mail,
        monad-control,
        mtl,
        resourcet,
        old-locale,
        opml,
        random,
        text,
        text-icu,
        transformers-base,
        transformers,
        time,
        timerep >= 1.0.3,
        tls >= 1.2 && < 1.3,
        utf8-string,
        xdg-basedir,
        xml
    if flag(network-uri)
        build-depends: network-uri >= 2.6, network >= 2.6
    else
        build-depends: network-uri < 2.6, network < 2.6
    Extensions:
        ConstraintKinds,
        KindSignatures,
        FlexibleContexts,
        FlexibleInstances,
        FunctionalDependencies,
        GeneralizedNewtypeDeriving,
        MultiParamTypeClasses,
        RankNTypes

    -- Build-tools:
    Ghc-options: -Wall

Executable imm
    Build-depends: imm, base == 4.*
    Main-is: Executable.hs
    Hs-Source-Dirs: Imm
    Ghc-options: -Wall -threaded