packages feed

atom-basic-0.0.1.0: atom-basic.cabal

name:                atom-basic
version:             0.0.1.0
synopsis:            Basic Atom feed construction
description:

    This library provides a type for an Atom feed
    (http://tools.ietf.org/html/rfc4287) and a way to produce its XML. XML is
    constructed with the help of a record of construction functions (`XMLGen`)
    that you provide. This allows you to easily use this with the XML library
    of your choice.

license:             BSD3
license-file:        LICENSE
author:              Carl Baatz
maintainer:          carl.baatz@gmail.com
copyright:           (c) 2015 Carl Baatz
category:            Web
build-type:          Simple
cabal-version:       >=1.10

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

library
  exposed-modules:     Web.Atom
  ghc-options:         -Wall
  hs-source-dirs:      src
  default-language:    Haskell2010
  if flag(network-uri)
    build-depends: network-uri >= 2.6, network >= 2.6
  else
    build-depends: network-uri < 2.6, network < 2.6
  build-depends:       base >=4.7 && <5
                     , text
                     , time
                     , old-locale
                     , bytestring
                     , base64-bytestring