mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-01-12 04:08:30 +01:00
- Update to ghc-8.8 / lts-16.0 - Update to hoauth2 >= 1.11.0 - authGetBS has pre-encoded errors a v1.9 - oauthClientSecret is Maybe at v1.11 - Tweak non-default Resolvers as required
79 lines
1.6 KiB
YAML
79 lines
1.6 KiB
YAML
---
|
|
name: yesod-auth-oauth2
|
|
version: '0.6.1.3' # N.B. PVP-compliant Semver: 0.MAJOR.MINOR.PATCH
|
|
synopsis: OAuth 2.0 authentication plugins
|
|
description: Library to authenticate with OAuth 2.0 for Yesod web applications.
|
|
category: Web
|
|
author: Tom Streller
|
|
maintainer: Pat Brisbin <pbrisbin@gmail.com>
|
|
license: MIT
|
|
github: thoughtbot/yesod-auth-oauth2
|
|
homepage: http://github.com/thoughtbot/yesod-auth-oauth2
|
|
|
|
extra-source-files:
|
|
- README.md
|
|
- CHANGELOG.md
|
|
|
|
ghc-options: -Wall
|
|
|
|
dependencies:
|
|
- base >=4.9.0.0 && <5
|
|
|
|
library:
|
|
source-dirs: src
|
|
dependencies:
|
|
- aeson >=0.6 && <1.6
|
|
- bytestring >=0.9.1.4
|
|
- cryptonite
|
|
- errors
|
|
- hoauth2 >=1.11.0 && <1.15
|
|
- http-client >=0.4.0 && <0.7
|
|
- http-conduit >=2.0 && <3.0
|
|
- http-types >=0.8 && <0.13
|
|
- memory
|
|
- microlens
|
|
- safe-exceptions
|
|
- text >=0.7 && <2.0
|
|
- uri-bytestring
|
|
- yesod-auth >=1.6.0 && <1.7
|
|
- yesod-core >=1.6.0 && <1.7
|
|
|
|
executables:
|
|
yesod-auth-oauth2-example:
|
|
main: Main.hs
|
|
source-dirs: example
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
dependencies:
|
|
- yesod-auth-oauth2
|
|
- aeson
|
|
- aeson-pretty
|
|
- bytestring
|
|
- containers
|
|
- http-conduit
|
|
- load-env
|
|
- text
|
|
- warp
|
|
- yesod
|
|
- yesod-auth
|
|
when:
|
|
- condition: ! '!(flag(example))'
|
|
buildable: false
|
|
|
|
tests:
|
|
test:
|
|
main: Spec.hs
|
|
source-dirs: test
|
|
dependencies:
|
|
- yesod-auth-oauth2
|
|
- hspec
|
|
- uri-bytestring
|
|
|
|
flags:
|
|
example:
|
|
description: Build the example application
|
|
manual: false
|
|
default: false
|