packages feed

haste-gapi-0.1.0.1: haste-gapi.cabal

name:                haste-gapi
-- The package version.  See the Haskell package versioning policy (PVP) 
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             0.1.0.1
synopsis:            Google API bindings for the Haste compiler
-- A longer description of the package.
description:         This is a library to make use of the Google API Client
                     Library for JavasScript in a Haskell environment!

                     The library works by wrapping login and giving you a
                     fancy type to perform your requests in. This will ease
                     chained requests that would give large amounts of clutter
                     in JavaScript, while giving you a better ability to
                     handle errors.
                     
                     Your HTML doesn't even need to load the GAPI library
                     itself, Haste-GAPI handles that for you!

license:             MIT
license-file:        LICENSE
author:              Jonathan Skårstedt
maintainer:          jonathan.skarstedt@gmail.com
copyright:           Jonathan Skårstedt 
category:            Web
build-type:          Simple
cabal-version:       >=1.10

source-repository head
 type:     git
 location: http://github.com/nyson/haste-gapi

flag haste-inst
  Description: either if it is being compiled with haste-inst or with cabal
  Default: False

                     
library
  -- Modules exported by the library.
  exposed-modules:     Haste.GAPI,
                       Haste.GAPI.GPlus,
                       Haste.GAPI.Types
                       
  -- Modules included in this library but not exported.
  other-modules:       Haste.GAPI.Result,
                       Haste.GAPI.Request, 
                       Haste.GAPI.Request.RequestM,
                       Haste.GAPI.Request.Types,
                       Haste.GAPI.Request.Raw,
                       Haste.GAPI.GPlus.Person,
                       Haste.GAPI.Internals.Promise

  other-extensions:    OverloadedStrings
  build-depends:       base == 4.* , data-default >= 0.5, transformers >= 0.4 
  if flag(haste-inst)
    build-depends: haste-lib >=0.5.1 && <0.6
  else
    build-depends: haste-compiler >=0.5.1 && <0.6

  default-language:    Haskell2010