discourse.plugins.discourse-oauth2-basic: init

+190
+1
pkgs/servers/web-apps/discourse/plugins/all-plugins.nix
··· 14 14 discourse-ldap-auth = callPackage ./discourse-ldap-auth {}; 15 15 discourse-math = callPackage ./discourse-math {}; 16 16 discourse-migratepassword = callPackage ./discourse-migratepassword {}; 17 + discourse-oauth2-basic = callPackage ./discourse-oauth2-basic {}; 17 18 discourse-openid-connect = callPackage ./discourse-openid-connect {}; 18 19 discourse-prometheus = callPackage ./discourse-prometheus {}; 19 20 discourse-saved-searches = callPackage ./discourse-saved-searches {};
+7
pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/Gemfile
··· 1 + # frozen_string_literal: true 2 + 3 + source 'https://rubygems.org' 4 + 5 + group :development do 6 + gem 'rubocop-discourse' 7 + end
+37
pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/Gemfile.lock
··· 1 + GEM 2 + remote: https://rubygems.org/ 3 + specs: 4 + ast (2.4.2) 5 + parallel (1.22.1) 6 + parser (3.1.1.0) 7 + ast (~> 2.4.1) 8 + rainbow (3.1.1) 9 + regexp_parser (2.2.1) 10 + rexml (3.2.5) 11 + rubocop (1.26.1) 12 + parallel (~> 1.10) 13 + parser (>= 3.1.0.0) 14 + rainbow (>= 2.2.2, < 4.0) 15 + regexp_parser (>= 1.8, < 3.0) 16 + rexml 17 + rubocop-ast (>= 1.16.0, < 2.0) 18 + ruby-progressbar (~> 1.7) 19 + unicode-display_width (>= 1.4.0, < 3.0) 20 + rubocop-ast (1.16.0) 21 + parser (>= 3.1.1.0) 22 + rubocop-discourse (2.5.0) 23 + rubocop (>= 1.1.0) 24 + rubocop-rspec (>= 2.0.0) 25 + rubocop-rspec (2.9.0) 26 + rubocop (~> 1.19) 27 + ruby-progressbar (1.11.0) 28 + unicode-display_width (2.1.0) 29 + 30 + PLATFORMS 31 + ruby 32 + 33 + DEPENDENCIES 34 + rubocop-discourse 35 + 36 + BUNDLED WITH 37 + 2.1.4
+18
pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/default.nix
··· 1 + { lib, mkDiscoursePlugin, fetchFromGitHub }: 2 + 3 + mkDiscoursePlugin rec { 4 + name = "discourse-oauth2-basic"; 5 + bundlerEnvArgs.gemdir = ./.; 6 + src = fetchFromGitHub { 7 + owner = "discourse"; 8 + repo = name; 9 + rev = "06ba5daa9aabd0487f2f30b944b6500f1f481308"; 10 + sha256 = "sha256-T08Q36k2hb9wVimKIa4O5mWcrr6VBTfHvhRJiLBiRPY="; 11 + }; 12 + meta = with lib; { 13 + homepage = "https://github.com/discourse/${name}"; 14 + maintainers = with maintainers; [ ehmry ]; 15 + license = licenses.mit; 16 + description = "A basic OAuth2 plugin for use with Discourse"; 17 + }; 18 + }
+127
pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/gemset.nix
··· 1 + { 2 + ast = { 3 + groups = ["default" "development"]; 4 + platforms = []; 5 + source = { 6 + remotes = ["https://rubygems.org"]; 7 + sha256 = "04nc8x27hlzlrr5c2gn7mar4vdr0apw5xg22wp6m8dx3wqr04a0y"; 8 + type = "gem"; 9 + }; 10 + version = "2.4.2"; 11 + }; 12 + parallel = { 13 + groups = ["default" "development"]; 14 + platforms = []; 15 + source = { 16 + remotes = ["https://rubygems.org"]; 17 + sha256 = "07vnk6bb54k4yc06xnwck7php50l09vvlw1ga8wdz0pia461zpzb"; 18 + type = "gem"; 19 + }; 20 + version = "1.22.1"; 21 + }; 22 + parser = { 23 + dependencies = ["ast"]; 24 + groups = ["default" "development"]; 25 + platforms = []; 26 + source = { 27 + remotes = ["https://rubygems.org"]; 28 + sha256 = "0zaghgvva2q4jqbachg8jvpwgbg3w1jqr0d00m8rqciqznjgsw3c"; 29 + type = "gem"; 30 + }; 31 + version = "3.1.1.0"; 32 + }; 33 + rainbow = { 34 + groups = ["default" "development"]; 35 + platforms = []; 36 + source = { 37 + remotes = ["https://rubygems.org"]; 38 + sha256 = "0smwg4mii0fm38pyb5fddbmrdpifwv22zv3d3px2xx497am93503"; 39 + type = "gem"; 40 + }; 41 + version = "3.1.1"; 42 + }; 43 + regexp_parser = { 44 + groups = ["default" "development"]; 45 + platforms = []; 46 + source = { 47 + remotes = ["https://rubygems.org"]; 48 + sha256 = "155f6cr4rrfw5bs5xd3m5kfw32qhc5fsi4nk82rhif56rc6cs0wm"; 49 + type = "gem"; 50 + }; 51 + version = "2.2.1"; 52 + }; 53 + rexml = { 54 + groups = ["default" "development"]; 55 + platforms = []; 56 + source = { 57 + remotes = ["https://rubygems.org"]; 58 + sha256 = "08ximcyfjy94pm1rhcx04ny1vx2sk0x4y185gzn86yfsbzwkng53"; 59 + type = "gem"; 60 + }; 61 + version = "3.2.5"; 62 + }; 63 + rubocop = { 64 + dependencies = ["parallel" "parser" "rainbow" "regexp_parser" "rexml" "rubocop-ast" "ruby-progressbar" "unicode-display_width"]; 65 + groups = ["default" "development"]; 66 + platforms = []; 67 + source = { 68 + remotes = ["https://rubygems.org"]; 69 + sha256 = "06105yrqajpm5l07fng1nbk55y9490hny542zclnan8hg841pjgl"; 70 + type = "gem"; 71 + }; 72 + version = "1.26.1"; 73 + }; 74 + rubocop-ast = { 75 + dependencies = ["parser"]; 76 + groups = ["default" "development"]; 77 + platforms = []; 78 + source = { 79 + remotes = ["https://rubygems.org"]; 80 + sha256 = "1bd2z82ly7fix8415gvfiwzb6bjialz5rs3sr72kv1lk68rd23wv"; 81 + type = "gem"; 82 + }; 83 + version = "1.16.0"; 84 + }; 85 + rubocop-discourse = { 86 + dependencies = ["rubocop" "rubocop-rspec"]; 87 + groups = ["development"]; 88 + platforms = []; 89 + source = { 90 + remotes = ["https://rubygems.org"]; 91 + sha256 = "01f4y7am9cq276zl8vsgv64w8wfmhpbzg7vzsifhgnnh92g6s04g"; 92 + type = "gem"; 93 + }; 94 + version = "2.5.0"; 95 + }; 96 + rubocop-rspec = { 97 + dependencies = ["rubocop"]; 98 + groups = ["default" "development"]; 99 + platforms = []; 100 + source = { 101 + remotes = ["https://rubygems.org"]; 102 + sha256 = "051gq9pz49iv4gq34d3n089iaa6cb418n2fhin6gd6fpysbi3nf6"; 103 + type = "gem"; 104 + }; 105 + version = "2.9.0"; 106 + }; 107 + ruby-progressbar = { 108 + groups = ["default" "development"]; 109 + platforms = []; 110 + source = { 111 + remotes = ["https://rubygems.org"]; 112 + sha256 = "02nmaw7yx9kl7rbaan5pl8x5nn0y4j5954mzrkzi9i3dhsrps4nc"; 113 + type = "gem"; 114 + }; 115 + version = "1.11.0"; 116 + }; 117 + unicode-display_width = { 118 + groups = ["default" "development"]; 119 + platforms = []; 120 + source = { 121 + remotes = ["https://rubygems.org"]; 122 + sha256 = "0csjm9shhfik0ci9mgimb7hf3xgh7nx45rkd9rzgdz6vkwr8rzxn"; 123 + type = "gem"; 124 + }; 125 + version = "2.1.0"; 126 + }; 127 + }