Skip to content

Commit ffd7f85

Browse files
committed
Update licensing and package metadata
And commit .cabal file.
1 parent 766cb40 commit ffd7f85

File tree

4 files changed

+142
-17
lines changed

4 files changed

+142
-17
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
*.cabal
21
.stack-work
32

43
# OAuth keys configuration for the example

LICENSE

+15-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
1-
Copyright 2018 Patrick Brisbin
1+
The MIT License (MIT)
22

3-
Permission is hereby granted, free of charge, to any person obtaining a copy of
4-
this software and associated documentation files (the "Software"), to deal in
5-
the Software without restriction, including without limitation the rights to
6-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7-
the Software, and to permit persons to whom the Software is furnished to do so,
8-
subject to the following conditions:
3+
Copyright (c) 2021 Renaissance Learning Inc
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
911

1012
The above copyright notice and this permission notice shall be included in all
1113
copies or substantial portions of the Software.
1214

1315
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

package.yaml

+7-4
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ version: '0.6.2.2' # N.B. PVP-compliant Semver: 0.MAJOR.MINOR.PATCH
44
synopsis: OAuth 2.0 authentication plugins
55
description: Library to authenticate with OAuth 2.0 for Yesod web applications.
66
category: Web
7-
author: Tom Streller
8-
maintainer: Pat Brisbin <pbrisbin@gmail.com>
7+
author:
8+
- Tom Streller
9+
- Patrick Brisbin
10+
- Freckle Engineering
911
license: MIT
10-
github: thoughtbot/yesod-auth-oauth2
11-
homepage: http://github.com/thoughtbot/yesod-auth-oauth2
12+
maintainer: engineering@freckle.com
13+
github: freckle/yesod-auth-oauth2
14+
homepage: http://github.com/freckle/yesod-auth-oauth2
1215

1316
extra-source-files:
1417
- README.md

yesod-auth-oauth2.cabal

+120
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
cabal-version: 1.12
2+
3+
-- This file has been generated from package.yaml by hpack version 0.33.0.
4+
--
5+
-- see: https://github.com/sol/hpack
6+
--
7+
-- hash: a48bcec60db26dacb925a1706d7ce16291553c16ca0a4370ed20445d461d9c2a
8+
9+
name: yesod-auth-oauth2
10+
version: 0.6.2.2
11+
synopsis: OAuth 2.0 authentication plugins
12+
description: Library to authenticate with OAuth 2.0 for Yesod web applications.
13+
category: Web
14+
homepage: http://github.com/freckle/yesod-auth-oauth2
15+
bug-reports: https://github.com/freckle/yesod-auth-oauth2/issues
16+
author: Tom Streller,
17+
Patrick Brisbin,
18+
Freckle Engineering
19+
maintainer: engineering@freckle.com
20+
license: MIT
21+
license-file: LICENSE
22+
build-type: Simple
23+
extra-source-files:
24+
README.md
25+
CHANGELOG.md
26+
27+
source-repository head
28+
type: git
29+
location: https://github.com/freckle/yesod-auth-oauth2
30+
31+
flag example
32+
description: Build the example application
33+
manual: False
34+
default: False
35+
36+
library
37+
exposed-modules:
38+
URI.ByteString.Extension
39+
Yesod.Auth.OAuth2
40+
Yesod.Auth.OAuth2.AzureAD
41+
Yesod.Auth.OAuth2.BattleNet
42+
Yesod.Auth.OAuth2.Bitbucket
43+
Yesod.Auth.OAuth2.ClassLink
44+
Yesod.Auth.OAuth2.Dispatch
45+
Yesod.Auth.OAuth2.ErrorResponse
46+
Yesod.Auth.OAuth2.EveOnline
47+
Yesod.Auth.OAuth2.Exception
48+
Yesod.Auth.OAuth2.GitHub
49+
Yesod.Auth.OAuth2.GitLab
50+
Yesod.Auth.OAuth2.Google
51+
Yesod.Auth.OAuth2.Nylas
52+
Yesod.Auth.OAuth2.Prelude
53+
Yesod.Auth.OAuth2.Salesforce
54+
Yesod.Auth.OAuth2.Slack
55+
Yesod.Auth.OAuth2.Spotify
56+
Yesod.Auth.OAuth2.Upcase
57+
Yesod.Auth.OAuth2.WordPressDotCom
58+
other-modules:
59+
Paths_yesod_auth_oauth2
60+
hs-source-dirs:
61+
src
62+
ghc-options: -Wall
63+
build-depends:
64+
aeson >=0.6 && <1.6
65+
, base >=4.9.0.0 && <5
66+
, bytestring >=0.9.1.4
67+
, cryptonite >=0.25 && <0.28
68+
, errors
69+
, hoauth2 >=1.11.0 && <1.17
70+
, http-client >=0.4.0 && <0.8
71+
, http-conduit >=2.0 && <3.0
72+
, http-types >=0.8 && <0.13
73+
, memory
74+
, microlens
75+
, safe-exceptions
76+
, text >=0.7 && <2.0
77+
, uri-bytestring
78+
, yesod-auth >=1.6.0 && <1.7
79+
, yesod-core >=1.6.0 && <1.7
80+
default-language: Haskell2010
81+
82+
executable yesod-auth-oauth2-example
83+
main-is: Main.hs
84+
other-modules:
85+
Paths_yesod_auth_oauth2
86+
hs-source-dirs:
87+
example
88+
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
89+
build-depends:
90+
aeson >=0.6 && <1.6
91+
, aeson-pretty
92+
, base >=4.9.0.0 && <5
93+
, bytestring >=0.9.1.4
94+
, containers
95+
, http-conduit >=2.0 && <3.0
96+
, load-env
97+
, text >=0.7 && <2.0
98+
, warp
99+
, yesod
100+
, yesod-auth >=1.6.0 && <1.7
101+
, yesod-auth-oauth2
102+
if !(flag(example))
103+
buildable: False
104+
default-language: Haskell2010
105+
106+
test-suite test
107+
type: exitcode-stdio-1.0
108+
main-is: Spec.hs
109+
other-modules:
110+
URI.ByteString.ExtensionSpec
111+
Paths_yesod_auth_oauth2
112+
hs-source-dirs:
113+
test
114+
ghc-options: -Wall
115+
build-depends:
116+
base >=4.9.0.0 && <5
117+
, hspec
118+
, uri-bytestring
119+
, yesod-auth-oauth2
120+
default-language: Haskell2010

0 commit comments

Comments
 (0)