packages feed

yesod-auth-oauth-0.4.1: yesod-auth-oauth.cabal

-- yesod-auth-oauth.cabal auto-generated by cabal init. For additional
-- options, see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
Name:                yesod-auth-oauth

-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version:             0.4.1

-- A short (one-line) description of the package.
Synopsis:            OAuth wrapper for yesod-auth

-- A longer description of the package.
Description:  OAuth client interface for yesod-auth.

-- The license under which the package is released.
License:             BSD3

-- The file containing the license text.
License-file:        LICENSE

-- The package author(s).
Author:              Hiromi ISHII

-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer:          konn.jinro_at_gmail.com

-- A copyright notice.
-- Copyright:           

Category:            Web

Build-type:          Simple

-- Extra files to be distributed with the package, such as examples or
-- a README.
-- Extra-source-files:  

-- Constraint on the version of Cabal needed to build this package.
Cabal-version:       >=1.2


flag oauth-not-supported
  Description: use authenticate-oauth instead of authenticate
  Default: True

Library
  -- Modules exported by the library.
  Exposed-modules:     Yesod.Helpers.Auth.OAuth
  
  -- Packages needed in order to build this package.
  Build-depends: base >= 4 && < 5, yesod-auth >= 0.3 && < 0.4,
                 bytestring >= 0.9 && < 1.0, http-enumerator >= 0.3 && <0.4,
                 utf8-string >= 0.3 && < 0.4, hamlet >= 0.7 && < 0.8,
                 yesod-core >= 0.7 && < 0.8, yesod-form >= 0.0 && < 0.1,
                 transformers >= 0.2 && < 0.3

  if flag(oauth-not-supported)
    Build-depends: authenticate-oauth >= 0.1 && < 0.2
  else
    Build-depends: authenticate >= 0.8.1  && < 0.9

  -- Modules not exported by this package.
  -- Other-modules: 
  
  -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
  -- Build-tools: