-
-
Notifications
You must be signed in to change notification settings - Fork 14k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
discourse.plugins.discourse-oauth2-basic: init
- Loading branch information
Showing
5 changed files
with
190 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/Gemfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
|
||
group :development do | ||
gem 'rubocop-discourse' | ||
end |
37 changes: 37 additions & 0 deletions
37
pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/Gemfile.lock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
ast (2.4.2) | ||
parallel (1.22.1) | ||
parser (3.1.1.0) | ||
ast (~> 2.4.1) | ||
rainbow (3.1.1) | ||
regexp_parser (2.2.1) | ||
rexml (3.2.5) | ||
rubocop (1.26.1) | ||
parallel (~> 1.10) | ||
parser (>= 3.1.0.0) | ||
rainbow (>= 2.2.2, < 4.0) | ||
regexp_parser (>= 1.8, < 3.0) | ||
rexml | ||
rubocop-ast (>= 1.16.0, < 2.0) | ||
ruby-progressbar (~> 1.7) | ||
unicode-display_width (>= 1.4.0, < 3.0) | ||
rubocop-ast (1.16.0) | ||
parser (>= 3.1.1.0) | ||
rubocop-discourse (2.5.0) | ||
rubocop (>= 1.1.0) | ||
rubocop-rspec (>= 2.0.0) | ||
rubocop-rspec (2.9.0) | ||
rubocop (~> 1.19) | ||
ruby-progressbar (1.11.0) | ||
unicode-display_width (2.1.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
rubocop-discourse | ||
|
||
BUNDLED WITH | ||
2.1.4 |
18 changes: 18 additions & 0 deletions
18
pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ lib, mkDiscoursePlugin, fetchFromGitHub }: | ||
|
||
mkDiscoursePlugin rec { | ||
name = "discourse-oauth2-basic"; | ||
bundlerEnvArgs.gemdir = ./.; | ||
src = fetchFromGitHub { | ||
owner = "discourse"; | ||
repo = name; | ||
rev = "06ba5daa9aabd0487f2f30b944b6500f1f481308"; | ||
sha256 = "sha256-T08Q36k2hb9wVimKIa4O5mWcrr6VBTfHvhRJiLBiRPY="; | ||
}; | ||
meta = with lib; { | ||
homepage = "https://github.com/discourse/${name}"; | ||
maintainers = with maintainers; [ ehmry ]; | ||
license = licenses.mit; | ||
description = "A basic OAuth2 plugin for use with Discourse"; | ||
}; | ||
} |
127 changes: 127 additions & 0 deletions
127
pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/gemset.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
{ | ||
ast = { | ||
groups = ["default" "development"]; | ||
platforms = []; | ||
source = { | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "04nc8x27hlzlrr5c2gn7mar4vdr0apw5xg22wp6m8dx3wqr04a0y"; | ||
type = "gem"; | ||
}; | ||
version = "2.4.2"; | ||
}; | ||
parallel = { | ||
groups = ["default" "development"]; | ||
platforms = []; | ||
source = { | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "07vnk6bb54k4yc06xnwck7php50l09vvlw1ga8wdz0pia461zpzb"; | ||
type = "gem"; | ||
}; | ||
version = "1.22.1"; | ||
}; | ||
parser = { | ||
dependencies = ["ast"]; | ||
groups = ["default" "development"]; | ||
platforms = []; | ||
source = { | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "0zaghgvva2q4jqbachg8jvpwgbg3w1jqr0d00m8rqciqznjgsw3c"; | ||
type = "gem"; | ||
}; | ||
version = "3.1.1.0"; | ||
}; | ||
rainbow = { | ||
groups = ["default" "development"]; | ||
platforms = []; | ||
source = { | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "0smwg4mii0fm38pyb5fddbmrdpifwv22zv3d3px2xx497am93503"; | ||
type = "gem"; | ||
}; | ||
version = "3.1.1"; | ||
}; | ||
regexp_parser = { | ||
groups = ["default" "development"]; | ||
platforms = []; | ||
source = { | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "155f6cr4rrfw5bs5xd3m5kfw32qhc5fsi4nk82rhif56rc6cs0wm"; | ||
type = "gem"; | ||
}; | ||
version = "2.2.1"; | ||
}; | ||
rexml = { | ||
groups = ["default" "development"]; | ||
platforms = []; | ||
source = { | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "08ximcyfjy94pm1rhcx04ny1vx2sk0x4y185gzn86yfsbzwkng53"; | ||
type = "gem"; | ||
}; | ||
version = "3.2.5"; | ||
}; | ||
rubocop = { | ||
dependencies = ["parallel" "parser" "rainbow" "regexp_parser" "rexml" "rubocop-ast" "ruby-progressbar" "unicode-display_width"]; | ||
groups = ["default" "development"]; | ||
platforms = []; | ||
source = { | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "06105yrqajpm5l07fng1nbk55y9490hny542zclnan8hg841pjgl"; | ||
type = "gem"; | ||
}; | ||
version = "1.26.1"; | ||
}; | ||
rubocop-ast = { | ||
dependencies = ["parser"]; | ||
groups = ["default" "development"]; | ||
platforms = []; | ||
source = { | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "1bd2z82ly7fix8415gvfiwzb6bjialz5rs3sr72kv1lk68rd23wv"; | ||
type = "gem"; | ||
}; | ||
version = "1.16.0"; | ||
}; | ||
rubocop-discourse = { | ||
dependencies = ["rubocop" "rubocop-rspec"]; | ||
groups = ["development"]; | ||
platforms = []; | ||
source = { | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "01f4y7am9cq276zl8vsgv64w8wfmhpbzg7vzsifhgnnh92g6s04g"; | ||
type = "gem"; | ||
}; | ||
version = "2.5.0"; | ||
}; | ||
rubocop-rspec = { | ||
dependencies = ["rubocop"]; | ||
groups = ["default" "development"]; | ||
platforms = []; | ||
source = { | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "051gq9pz49iv4gq34d3n089iaa6cb418n2fhin6gd6fpysbi3nf6"; | ||
type = "gem"; | ||
}; | ||
version = "2.9.0"; | ||
}; | ||
ruby-progressbar = { | ||
groups = ["default" "development"]; | ||
platforms = []; | ||
source = { | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "02nmaw7yx9kl7rbaan5pl8x5nn0y4j5954mzrkzi9i3dhsrps4nc"; | ||
type = "gem"; | ||
}; | ||
version = "1.11.0"; | ||
}; | ||
unicode-display_width = { | ||
groups = ["default" "development"]; | ||
platforms = []; | ||
source = { | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "0csjm9shhfik0ci9mgimb7hf3xgh7nx45rkd9rzgdz6vkwr8rzxn"; | ||
type = "gem"; | ||
}; | ||
version = "2.1.0"; | ||
}; | ||
} |