packages feed

bugzilla-0.1.0.0: bugzilla.cabal

-- Initial bugzilla.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                bugzilla
version:             0.1.0.0
synopsis:            A Haskell interface to the Bugzilla native REST API
description:         This package is designed to provide an easy-to-use, typesafe
                     interface to querying Bugzilla from Haskell.
homepage:            https://github.com/sethfowler/hsbugzilla
license:             BSD3
license-file:        LICENSE
author:              Seth Fowler
maintainer:          mark.seth.fowler@gmail.com
copyright:           Copyright 2014 Seth Fowler
category:            Web
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

source-repository head
  type:     git
  location: https://github.com/sethfowler/hsbugzilla.git
  tag:      0.1

flag BuildDemo
  description:  Build the 'bugzilla' demo program
  default:      False

library
  ghc-options:         -Wall
  exposed-modules:     Web.Bugzilla,
                       Web.Bugzilla.Search
  other-modules:       Web.Bugzilla.Internal.Network,
                       Web.Bugzilla.Internal.Search,
                       Web.Bugzilla.Internal.Types
  -- other-extensions:    
  build-depends:       base >=4.6 && <4.7,
                       aeson >=0.7 && <0.8,
                       blaze-builder >=0.3 && <0.4,
                       bytestring >=0.10 && <0.11,
                       connection >=0.2 && <0.3,
                       containers >=0.5 && <0.6,
                       data-default >=0.5 && <0.6,
                       http-conduit >=2.0 && <2.1,
                       http-types >=0.8 && <0.9,
                       iso8601-time >=0.1 && <0.2,
                       resourcet >=0.4 && <0.5,
                       text >=0.11 && <0.12,
                       time >=1.4 && <1.5,
                       transformers >=0.3 && <0.4,
                       unordered-containers >=0.2 && <0.3,
                       vector >= 0.10 && <0.11
  hs-source-dirs:      src
  default-language:    Haskell2010

executable bugzilla
  if flag(BuildDemo)
    buildable:         True
  else
    buildable:         False

  ghc-options:         -Wall
  main-is:             BugzillaDemo.hs
  build-depends:       base >=4.6 && <4.7,
                       bugzilla,
                       containers >=0.5 && <0.6,
                       text >=0.11 && <0.12,
                       time >=1.4 && <1.5
  hs-source-dirs:      demo
  default-language:    Haskell2010