packages feed

hyperpublic-0.1.0: hyperpublic.cabal

name: hyperpublic
version: 0.1.0
cabal-version: >= 1.6
build-type: Simple
license: PublicDomain
author: Mike S. Craig
maintainer: mkscrg@gmail.com
stability: experimental
homepage: https://github.com/mkscrg/hyperpublic-haskell
bug-reports: https://github.com/mkscrg/hyperpublic-haskell/issues
synopsis: A thin wrapper for the Hyperpublic API
description:
  A thin wrapper for the Hyperpublic API, which uses @http-enumerator@ to fetch
  results and @aeson@ to return them as JSON.
category: Web
extra-source-files: README.md, Examples.hs

flag example
  description: Build Examples.hs into the hyperpublic-example executable.
  default: False
  manual: True

library
  -- Very conservative lower bounds here. Notify me when you find wider
  -- compatibility boundaries and I'll update them here.
  build-depends:
    aeson >= 0.3.2.12 && < 0.4,
    attoparsec >= 0.9.1.2 && < 0.9.99,
    base >= 4.0 && < 5.0,
    bytestring >= 0.9.2.0 && < 0.9.99,
    http-enumerator >= 0.7.1.3 && < 0.8,
    http-types >= 0.6.5.1 && < 0.7
  exposed-modules:
    Web.Hyperpublic,
    Web.Hyperpublic.Places,
    Web.Hyperpublic.Offers,
    Web.Hyperpublic.Categories
  other-modules:
    Web.Hyperpublic.Internal
  extensions: OverloadedStrings
  ghc-options: -Wall

executable hyperpublic-example
  build-depends:
    aeson >= 0.3.2.12 && < 0.4,
    base >= 4.0 && < 5.0,
    bytestring >= 0.9.2.0 && < 0.9.99,
    containers >= 0.4.1.0 && < 0.5,
    text >= 0.11.1.6 && < 0.12,
    vector >= 0.9 && < 0.9.99
  other-modules:
    Web.Hyperpublic, Web.Hyperpublic.Places, Web.Hyperpublic.Offers
  main-is: Examples.hs
  if flag(example)
    buildable: True
  else
    buildable: False

source-repository head
  type: git
  location: git://github.com/mkscrg/hyperpublic-haskell.git

source-repository this
  type: git
  location: git://github.com/mkscrg/hyperpublic-haskell.git
  tag: 0.0.0