packages feed

rss-3000.2.0.5: rss.cabal

Name: rss
Version: 3000.2.0.5
Cabal-version: >=1.6
Build-type: Simple
Copyright: Jeremy Shaw 2004, Bjorn Bringert 2004-2006
Maintainer: Bas van Dijk <v.dijk.bas@gmail.com>
Author: Jeremy Shaw, Bjorn Bringert
License: PublicDomain
Homepage:    https://github.com/basvandijk/rss
Bug-reports: https://github.com/basvandijk/rss/issues
Synopsis: A library for generating RSS 2.0 feeds.
Description:
 This library allows you to generate RSS 2.0 feeds.

extra-source-files: README.markdown

source-repository head
  Type:     git
  Location: git://github.com/basvandijk/rss.git

flag old-locale
  description: If false then depend on time >= 1.5.
               .
               If true then depend on time < 1.5 together with old-locale.
  default: False

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

Library
  build-depends: base       >= 3      && < 5
               , HaXml      >= 1.24
               , old-locale >= 1.0    && < 1.1

  if flag(old-locale)
    build-depends: time       >= 1.1.2 && < 1.5
                 , old-locale >= 1.0   && < 1.1
  else
    build-depends: time >= 1.5 && < 1.6

  if flag(network-uri)
    build-depends: network-uri >= 2.6 && < 2.7
                 , network     >= 2.6 && < 2.7
  else
    build-depends: network-uri >= 2.5 && < 2.6
                 , network     >= 2.0 && < 2.6

  Exposed-Modules: Text.RSS
  ghc-options: -Wall