packages feed

atom-basic-0.2.1: atom-basic.cabal

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

    <https://hackage.haskell.org/package/atom-basic atom-basic> aims to provide
    a type-safe <http://tools.ietf.org/html/rfc4287> Atom feed for the XML
    package of your choice. Constructors for the 'Feed' and 'Entry' data types
    are provided. You pass values of these types to the 'feedXML' or 'entryXML'
    to generate XML. You provide an 'XMLGen' record of generator functions
    using your preferred XML package.
    .
    Please see the documentation of the 'Web.Atom' module for basic usage
    examples.

license:             BSD3
license-file:        LICENSE
bug-reports:         https://github.com/cbaatz/atom-basic/issues
maintainer:          Carl Baatz <carl.baatz@gmail.com>
author:              Carl Baatz <carl.baatz@gmail.com>
copyright:           (c) 2015 Carl Baatz
category:            Web
build-type:          Simple
cabal-version:       >=1.10
Extra-source-files:
    CHANGELOG

source-repository head
  type:     git
  location: https://github.com/cbaatz/atom-basic

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.6 && <5
                     , text
                     , time
                     , old-locale
                     , bytestring
                     , base64-bytestring