From f9bf90c4b5f049cd492be5059e9b65dedc3023e4 Mon Sep 17 00:00:00 2001 From: Leona Maroni Date: Fri, 17 Oct 2025 10:11:26 +0200 Subject: [PATCH] discourse: remove deprecated and moved to core plugins moved to discourse core in this discourse 3.5.0: - discourse-assign - discourse-calender - discourse-chat-integration - discourse-data-explorer - discourse-github - discourse-math - discourse-oauth2-basic - discourse-openid-connect - discourse-reactions - discourse-solved moved to discourse core in earlier releases: - discourse-spoiler-alert deprecated plugins: - discourse-canned-replies (since Aug. 2023) --- .../discourse/plugins/all-plugins.nix | 13 -- .../plugins/discourse-assign/default.nix | 21 --- .../plugins/discourse-calendar/Gemfile | 6 - .../plugins/discourse-calendar/Gemfile.lock | 35 ---- .../plugins/discourse-calendar/default.nix | 22 --- .../plugins/discourse-calendar/gemset.nix | 126 ------------- .../discourse-canned-replies/default.nix | 21 --- .../discourse-chat-integration/default.nix | 21 --- .../plugins/discourse-checklist/default.nix | 21 --- .../discourse-data-explorer/default.nix | 21 --- .../plugins/discourse-github/Gemfile | 7 - .../plugins/discourse-github/Gemfile.lock | 33 ---- .../plugins/discourse-github/default.nix | 23 --- .../plugins/discourse-github/gemset.nix | 118 ------------ .../plugins/discourse-math/default.nix | 21 --- .../plugins/discourse-oauth2-basic/Gemfile | 7 - .../discourse-oauth2-basic/Gemfile.lock | 37 ---- .../discourse-oauth2-basic/default.nix | 21 --- .../plugins/discourse-oauth2-basic/gemset.nix | 172 ------------------ .../plugins/discourse-openid-connect/Gemfile | 7 - .../discourse-openid-connect/Gemfile.lock | 37 ---- .../discourse-openid-connect/default.nix | 22 --- .../discourse-openid-connect/gemset.nix | 172 ------------------ .../plugins/discourse-reactions/default.nix | 21 --- .../plugins/discourse-solved/default.nix | 21 --- .../discourse-spoiler-alert/default.nix | 21 --- pkgs/servers/web-apps/discourse/update.py | 12 -- 27 files changed, 1059 deletions(-) delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-assign/default.nix delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-calendar/Gemfile delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-calendar/Gemfile.lock delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-calendar/default.nix delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-calendar/gemset.nix delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-canned-replies/default.nix delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-chat-integration/default.nix delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-checklist/default.nix delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-data-explorer/default.nix delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-github/Gemfile delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-github/Gemfile.lock delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-github/default.nix delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-github/gemset.nix delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-math/default.nix delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/Gemfile delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/Gemfile.lock delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/default.nix delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/gemset.nix delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-openid-connect/Gemfile delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-openid-connect/Gemfile.lock delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-openid-connect/default.nix delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-openid-connect/gemset.nix delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-reactions/default.nix delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-solved/default.nix delete mode 100644 pkgs/servers/web-apps/discourse/plugins/discourse-spoiler-alert/default.nix diff --git a/pkgs/servers/web-apps/discourse/plugins/all-plugins.nix b/pkgs/servers/web-apps/discourse/plugins/all-plugins.nix index 0941b05f404c..df908dcb6b6d 100644 --- a/pkgs/servers/web-apps/discourse/plugins/all-plugins.nix +++ b/pkgs/servers/web-apps/discourse/plugins/all-plugins.nix @@ -3,23 +3,10 @@ let callPackage = newScope args; in { - discourse-assign = callPackage ./discourse-assign { }; discourse-bbcode-color = callPackage ./discourse-bbcode-color { }; - discourse-calendar = callPackage ./discourse-calendar { }; - discourse-canned-replies = callPackage ./discourse-canned-replies { }; - discourse-chat-integration = callPackage ./discourse-chat-integration { }; - discourse-checklist = callPackage ./discourse-checklist { }; - discourse-data-explorer = callPackage ./discourse-data-explorer { }; discourse-docs = callPackage ./discourse-docs { }; - discourse-github = callPackage ./discourse-github { }; discourse-ldap-auth = callPackage ./discourse-ldap-auth { }; - discourse-math = callPackage ./discourse-math { }; - discourse-oauth2-basic = callPackage ./discourse-oauth2-basic { }; - discourse-openid-connect = callPackage ./discourse-openid-connect { }; discourse-prometheus = callPackage ./discourse-prometheus { }; - discourse-reactions = callPackage ./discourse-reactions { }; discourse-saved-searches = callPackage ./discourse-saved-searches { }; - discourse-solved = callPackage ./discourse-solved { }; - discourse-spoiler-alert = callPackage ./discourse-spoiler-alert { }; discourse-yearly-review = callPackage ./discourse-yearly-review { }; } diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-assign/default.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-assign/default.nix deleted file mode 100644 index 613de051ec14..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-assign/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - lib, - mkDiscoursePlugin, - fetchFromGitHub, -}: - -mkDiscoursePlugin { - name = "discourse-assign"; - src = fetchFromGitHub { - owner = "discourse"; - repo = "discourse-assign"; - rev = "6050446a9920f6ccf0694b38cec611452654b7bc"; - sha256 = "sha256-MxPCzqRbb9bgmR9OO4gfJUzFvmyBOcU1E1y1FUdUp9M="; - }; - meta = with lib; { - homepage = "https://github.com/discourse/discourse-docs"; - maintainers = with maintainers; [ dpausp ]; - license = licenses.mit; - description = "Discourse Plugin for assigning users to a topic"; - }; -} diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-calendar/Gemfile b/pkgs/servers/web-apps/discourse/plugins/discourse-calendar/Gemfile deleted file mode 100644 index 76faf85df5e2..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-calendar/Gemfile +++ /dev/null @@ -1,6 +0,0 @@ -# frozen_string_literal: true - -source "https://rubygems.org" - -# gem "rails" -gem "rrule", "0.4.4", require: false diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-calendar/Gemfile.lock b/pkgs/servers/web-apps/discourse/plugins/discourse-calendar/Gemfile.lock deleted file mode 100644 index 15aafaf94c9c..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-calendar/Gemfile.lock +++ /dev/null @@ -1,35 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - activesupport (7.1.3.3) - base64 - bigdecimal - concurrent-ruby (~> 1.0, >= 1.0.2) - connection_pool (>= 2.2.5) - drb - i18n (>= 1.6, < 2) - minitest (>= 5.1) - mutex_m - tzinfo (~> 2.0) - base64 (0.2.0) - bigdecimal (3.1.8) - concurrent-ruby (1.2.3) - connection_pool (2.4.1) - drb (2.2.1) - i18n (1.14.5) - concurrent-ruby (~> 1.0) - minitest (5.23.1) - mutex_m (0.2.0) - rrule (0.4.4) - activesupport (>= 2.3) - tzinfo (2.0.6) - concurrent-ruby (~> 1.0) - -PLATFORMS - ruby - -DEPENDENCIES - rrule (= 0.4.4) - -BUNDLED WITH - 2.5.9 diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-calendar/default.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-calendar/default.nix deleted file mode 100644 index 238bc3902ef9..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-calendar/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ - lib, - mkDiscoursePlugin, - fetchFromGitHub, -}: - -mkDiscoursePlugin { - name = "discourse-calendar"; - bundlerEnvArgs.gemdir = ./.; - src = fetchFromGitHub { - owner = "discourse"; - repo = "discourse-calendar"; - rev = "43e97c16e595f3f80d53a787614eb7c0f9d6a1c1"; - sha256 = "sha256-zks4zqzc4ZnUxMHSiUkcwaZEzmUXXgFMdiEp6CRPEIU="; - }; - meta = with lib; { - homepage = "https://github.com/discourse/discourse-calendar"; - maintainers = with maintainers; [ ryantm ]; - license = licenses.mit; - description = "Adds the ability to create a dynamic calendar in the first post of a topic"; - }; -} diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-calendar/gemset.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-calendar/gemset.nix deleted file mode 100644 index 8fdcbcd0fa35..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-calendar/gemset.nix +++ /dev/null @@ -1,126 +0,0 @@ -{ - activesupport = { - dependencies = [ - "base64" - "bigdecimal" - "concurrent-ruby" - "connection_pool" - "drb" - "i18n" - "minitest" - "mutex_m" - "tzinfo" - ]; - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0z8kygxmz99krz9pwp947znkzf0jr64sml28df0vf1gzxlg7y57i"; - type = "gem"; - }; - version = "7.1.3.3"; - }; - base64 = { - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "01qml0yilb9basf7is2614skjp8384h2pycfx86cr8023arfj98g"; - type = "gem"; - }; - version = "0.2.0"; - }; - bigdecimal = { - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "1gi7zqgmqwi5lizggs1jhc3zlwaqayy9rx2ah80sxy24bbnng558"; - type = "gem"; - }; - version = "3.1.8"; - }; - concurrent-ruby = { - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "1qh1b14jwbbj242klkyz5fc7npd4j0mvndz62gajhvl1l3wd7zc2"; - type = "gem"; - }; - version = "1.2.3"; - }; - connection_pool = { - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "1x32mcpm2cl5492kd6lbjbaf17qsssmpx9kdyr7z1wcif2cwyh0g"; - type = "gem"; - }; - version = "2.4.1"; - }; - drb = { - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0h5kbj9hvg5hb3c7l425zpds0vb42phvln2knab8nmazg2zp5m79"; - type = "gem"; - }; - version = "2.2.1"; - }; - i18n = { - dependencies = [ "concurrent-ruby" ]; - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "1ffix518y7976qih9k1lgnc17i3v6yrlh0a3mckpxdb4wc2vrp16"; - type = "gem"; - }; - version = "1.14.5"; - }; - minitest = { - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "1gkslxvkhh44s21rbjvka3zsvfxxrf5pcl6f75rv2vyrzzbgis7i"; - type = "gem"; - }; - version = "5.23.1"; - }; - mutex_m = { - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "1ma093ayps1m92q845hmpk0dmadicvifkbf05rpq9pifhin0rvxn"; - type = "gem"; - }; - version = "0.2.0"; - }; - rrule = { - dependencies = [ "activesupport" ]; - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "04h3q0ws0wswqj3mwjyv44yx59d9ima9a820ay9w5bwnlb73syj2"; - type = "gem"; - }; - version = "0.4.4"; - }; - tzinfo = { - dependencies = [ "concurrent-ruby" ]; - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "16w2g84dzaf3z13gxyzlzbf748kylk5bdgg3n1ipvkvvqy685bwd"; - type = "gem"; - }; - version = "2.0.6"; - }; -} diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-canned-replies/default.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-canned-replies/default.nix deleted file mode 100644 index b6f6c113ea24..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-canned-replies/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - lib, - mkDiscoursePlugin, - fetchFromGitHub, -}: - -mkDiscoursePlugin { - name = "discourse-canned-replies"; - src = fetchFromGitHub { - owner = "discourse"; - repo = "discourse-canned-replies"; - rev = "732598b6cdc86c74622bb15bfeaebb05611bbc25"; - sha256 = "sha256-t0emNsPT8o0ralUedt33ufH0VLl4/12lVBBCnzfdRxE="; - }; - meta = with lib; { - homepage = "https://github.com/discourse/discourse-canned-replies"; - maintainers = with maintainers; [ talyz ]; - license = licenses.gpl2Only; - description = "Adds support for inserting a canned reply into the composer window via a UI"; - }; -} diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-chat-integration/default.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-chat-integration/default.nix deleted file mode 100644 index c23408a1c3bc..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-chat-integration/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - lib, - mkDiscoursePlugin, - fetchFromGitHub, -}: - -mkDiscoursePlugin { - name = "discourse-chat-integration"; - src = fetchFromGitHub { - owner = "discourse"; - repo = "discourse-chat-integration"; - rev = "428df114ff7f8416314dc585e59bc898ee59c674"; - sha256 = "sha256-pP9MzQz9nghGIPMnGFOEXxW/OH/8BzHltcxAQboLYec="; - }; - meta = with lib; { - homepage = "https://github.com/discourse/discourse-chat-integration"; - maintainers = with maintainers; [ dpausp ]; - license = licenses.mit; - description = "This plugin integrates Discourse with a number of external chatroom systems"; - }; -} diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-checklist/default.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-checklist/default.nix deleted file mode 100644 index d9934bc3d872..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-checklist/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - lib, - mkDiscoursePlugin, - fetchFromGitHub, -}: - -mkDiscoursePlugin { - name = "discourse-checklist"; - src = fetchFromGitHub { - owner = "discourse"; - repo = "discourse-checklist"; - rev = "6fcf9fed5c3ae3baf9ddd1cca9cef4dc089996c1"; - sha256 = "sha256-RIuoqZo7dW1DXbfbWhyyhCOGe4R5sLerzFW2TT0zO6U="; - }; - meta = with lib; { - homepage = "https://github.com/discourse/discourse-checklist"; - maintainers = with maintainers; [ ryantm ]; - license = licenses.gpl2Only; - description = "Simple checklist rendering plugin for discourse"; - }; -} diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-data-explorer/default.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-data-explorer/default.nix deleted file mode 100644 index de23b46bf2ac..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-data-explorer/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - lib, - mkDiscoursePlugin, - fetchFromGitHub, -}: - -mkDiscoursePlugin { - name = "discourse-data-explorer"; - src = fetchFromGitHub { - owner = "discourse"; - repo = "discourse-data-explorer"; - rev = "b61e81fb616ce5880af96584ab9175f07f6362d4"; - sha256 = "sha256-4E2PR7RwoM/e6cJFuaorK6EYe1nSDKkorJWrlWPzg3g="; - }; - meta = with lib; { - homepage = "https://github.com/discourse/discourse-data-explorer"; - maintainers = with maintainers; [ ryantm ]; - license = licenses.mit; - description = "SQL Queries for admins in Discourse"; - }; -} diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-github/Gemfile b/pkgs/servers/web-apps/discourse/plugins/discourse-github/Gemfile deleted file mode 100644 index c24a3e860d7c..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-github/Gemfile +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -source "https://rubygems.org" - -# gem "rails" -gem "sawyer", "0.9.2" -gem "octokit", "5.6.1" diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-github/Gemfile.lock b/pkgs/servers/web-apps/discourse/plugins/discourse-github/Gemfile.lock deleted file mode 100644 index 6414282db56f..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-github/Gemfile.lock +++ /dev/null @@ -1,33 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - addressable (2.8.7) - public_suffix (>= 2.0.2, < 7.0) - faraday (2.13.4) - faraday-net_http (>= 2.0, < 3.5) - json - logger - faraday-net_http (3.4.1) - net-http (>= 0.5.0) - json (2.13.2) - logger (1.7.0) - net-http (0.6.0) - uri - octokit (5.6.1) - faraday (>= 1, < 3) - sawyer (~> 0.9) - public_suffix (6.0.2) - sawyer (0.9.2) - addressable (>= 2.3.5) - faraday (>= 0.17.3, < 3) - uri (1.0.3) - -PLATFORMS - ruby - -DEPENDENCIES - octokit (= 5.6.1) - sawyer (= 0.9.2) - -BUNDLED WITH - 2.5.22 diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-github/default.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-github/default.nix deleted file mode 100644 index e27d192d721f..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-github/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ - lib, - mkDiscoursePlugin, - fetchFromGitHub, -}: - -mkDiscoursePlugin { - name = "discourse-github"; - bundlerEnvArgs.gemdir = ./.; - src = fetchFromGitHub { - owner = "discourse"; - repo = "discourse-github"; - rev = "d0cd63043de2ddac624db61ba282e0474fd447e2"; - sha256 = "sha256-NDC8KdfbgwM60i9g4PpziWD6uU9Mp67SOG7oYhS4j5I="; - }; - meta = with lib; { - homepage = "https://github.com/discourse/discourse-github"; - maintainers = with maintainers; [ talyz ]; - license = licenses.mit; - description = "Adds GitHub badges and linkback functionality"; - }; - -} diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-github/gemset.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-github/gemset.nix deleted file mode 100644 index 7c3adab7270c..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-github/gemset.nix +++ /dev/null @@ -1,118 +0,0 @@ -{ - addressable = { - dependencies = [ "public_suffix" ]; - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0cl2qpvwiffym62z991ynks7imsm87qmgxf0yfsmlwzkgi9qcaa6"; - type = "gem"; - }; - version = "2.8.7"; - }; - faraday = { - dependencies = [ - "faraday-net_http" - "json" - "logger" - ]; - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "09mcghancmn0s5cwk2xz581j3xm3xqxfv0yxg75axnyhrx9gy6f7"; - type = "gem"; - }; - version = "2.13.4"; - }; - faraday-net_http = { - dependencies = [ "net-http" ]; - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0fxbckg468dabkkznv48ss8zv14d9cd8mh1rr3m98aw7wzx5fmq9"; - type = "gem"; - }; - version = "3.4.1"; - }; - json = { - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0s5vklcy2fgdxa9c6da34jbfrqq7xs6mryjglqqb5iilshcg3q82"; - type = "gem"; - }; - version = "2.13.2"; - }; - logger = { - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "00q2zznygpbls8asz5knjvvj2brr3ghmqxgr83xnrdj4rk3xwvhr"; - type = "gem"; - }; - version = "1.7.0"; - }; - net-http = { - dependencies = [ "uri" ]; - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "1ysrwaabhf0sn24jrp0nnp51cdv0jf688mh5i6fsz63q2c6b48cn"; - type = "gem"; - }; - version = "0.6.0"; - }; - octokit = { - dependencies = [ - "faraday" - "sawyer" - ]; - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "15g4kyag6gmxxq6d03472h7srm3imlsks1wg6nac7hl3mb1b5vs8"; - type = "gem"; - }; - version = "5.6.1"; - }; - public_suffix = { - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "1543ap9w3ydhx39ljcd675cdz9cr948x9mp00ab8qvq6118wv9xz"; - type = "gem"; - }; - version = "6.0.2"; - }; - sawyer = { - dependencies = [ - "addressable" - "faraday" - ]; - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "1jks1qjbmqm8f9kvwa81vqj39avaj9wdnzc531xm29a55bb74fps"; - type = "gem"; - }; - version = "0.9.2"; - }; - uri = { - groups = [ "default" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "04bhfvc25b07jaiaf62yrach7khhr5jlr5bx6nygg8pf11329wp9"; - type = "gem"; - }; - version = "1.0.3"; - }; -} diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-math/default.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-math/default.nix deleted file mode 100644 index 6d2115f724bf..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-math/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - lib, - mkDiscoursePlugin, - fetchFromGitHub, -}: - -mkDiscoursePlugin { - name = "discourse-math"; - src = fetchFromGitHub { - owner = "discourse"; - repo = "discourse-math"; - rev = "8db3f371e543bdf21fba35b1a539036386517272"; - sha256 = "sha256-ARyPDpDUlPlhhw4KL+eo5AUzp1F2moenXEemV72kfsI="; - }; - meta = with lib; { - homepage = "https://github.com/discourse/discourse-math"; - maintainers = with maintainers; [ talyz ]; - license = licenses.mit; - description = "Official MathJax support for Discourse"; - }; -} diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/Gemfile b/pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/Gemfile deleted file mode 100644 index 7da32ec03949..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/Gemfile +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -source 'https://rubygems.org' - -group :development do - gem 'rubocop-discourse' -end diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/Gemfile.lock b/pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/Gemfile.lock deleted file mode 100644 index 6a91a08c0e86..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/Gemfile.lock +++ /dev/null @@ -1,37 +0,0 @@ -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 diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/default.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/default.nix deleted file mode 100644 index 9cad18c9eb5b..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - 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}"; - license = licenses.mit; - description = "Basic OAuth2 plugin for use with Discourse"; - }; -} diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/gemset.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/gemset.nix deleted file mode 100644 index 8bbea6576bf1..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/gemset.nix +++ /dev/null @@ -1,172 +0,0 @@ -{ - 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"; - }; -} diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-openid-connect/Gemfile b/pkgs/servers/web-apps/discourse/plugins/discourse-openid-connect/Gemfile deleted file mode 100644 index 7da32ec03949..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-openid-connect/Gemfile +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -source 'https://rubygems.org' - -group :development do - gem 'rubocop-discourse' -end diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-openid-connect/Gemfile.lock b/pkgs/servers/web-apps/discourse/plugins/discourse-openid-connect/Gemfile.lock deleted file mode 100644 index 0987b206fa66..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-openid-connect/Gemfile.lock +++ /dev/null @@ -1,37 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - ast (2.4.1) - parallel (1.19.2) - parser (2.7.2.0) - ast (~> 2.4.1) - rainbow (3.0.0) - regexp_parser (1.8.1) - rexml (3.2.5) - rubocop (0.93.0) - parallel (~> 1.10) - parser (>= 2.7.1.5) - rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8) - rexml - rubocop-ast (>= 0.6.0) - ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 2.0) - rubocop-ast (0.7.1) - parser (>= 2.7.1.5) - rubocop-discourse (2.3.2) - rubocop (>= 0.69.0) - rubocop-rspec (>= 1.39.0) - rubocop-rspec (1.43.2) - rubocop (~> 0.87) - ruby-progressbar (1.10.1) - unicode-display_width (1.7.0) - -PLATFORMS - ruby - -DEPENDENCIES - rubocop-discourse - -BUNDLED WITH - 2.1.4 diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-openid-connect/default.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-openid-connect/default.nix deleted file mode 100644 index 9abdf8634081..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-openid-connect/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ - lib, - mkDiscoursePlugin, - fetchFromGitHub, -}: - -mkDiscoursePlugin { - name = "discourse-openid-connect"; - bundlerEnvArgs.gemdir = ./.; - src = fetchFromGitHub { - owner = "discourse"; - repo = "discourse-openid-connect"; - rev = "8b879884b677b60ee726282457427864f2767926"; - sha256 = "sha256-+j3YRbZYCDnoweyfiCFP3U6AX860B1RQT14IBhnSi4M="; - }; - meta = with lib; { - homepage = "https://github.com/discourse/discourse-openid-connect"; - maintainers = with maintainers; [ mkg20001 ]; - license = licenses.mit; - description = "Discourse plugin to integrate Discourse with an openid-connect login provider"; - }; -} diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-openid-connect/gemset.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-openid-connect/gemset.nix deleted file mode 100644 index 37d643eb7d03..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-openid-connect/gemset.nix +++ /dev/null @@ -1,172 +0,0 @@ -{ - ast = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "1l3468czzjmxl93ap40hp7z94yxp4nbag0bxqs789bm30md90m2a"; - type = "gem"; - }; - version = "2.4.1"; - }; - parallel = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "17b127xxmm2yqdz146qwbs57046kn0js1h8synv01dwqz2z1kp2l"; - type = "gem"; - }; - version = "1.19.2"; - }; - parser = { - dependencies = [ "ast" ]; - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "1f7gmm60yla325wlnd3qkxs59qm2y0aan8ljpg6k18rwzrrfil6z"; - type = "gem"; - }; - version = "2.7.2.0"; - }; - rainbow = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0bb2fpjspydr6x0s8pn1pqkzmxszvkfapv0p4627mywl7ky4zkhk"; - type = "gem"; - }; - version = "3.0.0"; - }; - regexp_parser = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0n9d14ppshnx71i3mi1pnm3hwhcbb6m6vsc0b0dqgsab8r2rs96n"; - type = "gem"; - }; - version = "1.8.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 = "1nrv7i81549addig09grw17qkab3l4319dcsf9y7psl7aa76ng3a"; - type = "gem"; - }; - version = "0.93.0"; - }; - rubocop-ast = { - dependencies = [ "parser" ]; - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "129hgz4swc8n0g01715v7y00k0h4mlzkxh63q7z27q7mjp54rl74"; - type = "gem"; - }; - version = "0.7.1"; - }; - rubocop-discourse = { - dependencies = [ - "rubocop" - "rubocop-rspec" - ]; - groups = [ "development" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "10l2wwnvd4xccgqsyhxrhc5bw10b7an4awl0v90fw5xf2qdjiflw"; - type = "gem"; - }; - version = "2.3.2"; - }; - rubocop-rspec = { - dependencies = [ "rubocop" ]; - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "1sc0bwdxzfr8byxzwvfyf22lwzqcaa6ca7wzxx31mk7vvy7r7dhl"; - type = "gem"; - }; - version = "1.43.2"; - }; - ruby-progressbar = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "1k77i0d4wsn23ggdd2msrcwfy0i376cglfqypkk2q77r2l3408zf"; - type = "gem"; - }; - version = "1.10.1"; - }; - unicode-display_width = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "06i3id27s60141x6fdnjn5rar1cywdwy64ilc59cz937303q3mna"; - type = "gem"; - }; - version = "1.7.0"; - }; -} diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-reactions/default.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-reactions/default.nix deleted file mode 100644 index beace0fe7059..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-reactions/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - lib, - mkDiscoursePlugin, - fetchFromGitHub, -}: - -mkDiscoursePlugin { - name = "discourse-reactions"; - src = fetchFromGitHub { - owner = "discourse"; - repo = "discourse-reactions"; - rev = "ed83e21e6e722cef3e38d6da083d483bfa14503b"; - sha256 = "sha256-XA9ADzBzp1TVV4belv4b4GR7xWY/05WFAWRlUBr2M+o="; - }; - meta = with lib; { - homepage = "https://github.com/discourse/discourse-reactions"; - maintainers = with maintainers; [ bbenno ]; - license = licenses.mit; - description = "Allows users to react to a post from a choice of emojis, rather than only the like heart"; - }; -} diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-solved/default.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-solved/default.nix deleted file mode 100644 index 2cb7a168c5a7..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-solved/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - lib, - mkDiscoursePlugin, - fetchFromGitHub, -}: - -mkDiscoursePlugin { - name = "discourse-solved"; - src = fetchFromGitHub { - owner = "discourse"; - repo = "discourse-solved"; - rev = "8e777aa05dd3a303ccd772226e24b2e5f4d6be31"; - sha256 = "sha256-z/fB+QQW6iMBBDHUWvr5UmWyLyo18qnXddEOiPM7aRQ="; - }; - meta = with lib; { - homepage = "https://github.com/discourse/discourse-solved"; - maintainers = with maintainers; [ talyz ]; - license = licenses.mit; - description = "Allow accepted answers on topics"; - }; -} diff --git a/pkgs/servers/web-apps/discourse/plugins/discourse-spoiler-alert/default.nix b/pkgs/servers/web-apps/discourse/plugins/discourse-spoiler-alert/default.nix deleted file mode 100644 index 75f78b9d6b70..000000000000 --- a/pkgs/servers/web-apps/discourse/plugins/discourse-spoiler-alert/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - lib, - mkDiscoursePlugin, - fetchFromGitHub, -}: - -mkDiscoursePlugin { - name = "discourse-spoiler-alert"; - src = fetchFromGitHub { - owner = "discourse"; - repo = "discourse-spoiler-alert"; - rev = "42b77ec048b9b386a8b25a22bfec6472817da465"; - sha256 = "sha256-BQeID+y9RvmcnuNsodOMXseVvre5QYxv+E/ul8bucUI="; - }; - meta = with lib; { - homepage = "https://github.com/discourse/discourse-spoiler-alert"; - maintainers = with maintainers; [ talyz ]; - license = licenses.mit; - description = "Hide spoilers behind the spoiler-alert jQuery plugin"; - }; -} diff --git a/pkgs/servers/web-apps/discourse/update.py b/pkgs/servers/web-apps/discourse/update.py index 23d7d081d750..c859394bf11f 100755 --- a/pkgs/servers/web-apps/discourse/update.py +++ b/pkgs/servers/web-apps/discourse/update.py @@ -280,23 +280,11 @@ def update_mail_receiver(rev): def update_plugins(): """Update plugins to their latest revision.""" plugins = [ - {'name': 'discourse-assign'}, {'name': 'discourse-bbcode-color'}, - {'name': 'discourse-calendar'}, - {'name': 'discourse-canned-replies'}, - {'name': 'discourse-chat-integration'}, - {'name': 'discourse-checklist'}, - {'name': 'discourse-data-explorer'}, {'name': 'discourse-docs'}, - {'name': 'discourse-github'}, {'name': 'discourse-ldap-auth', 'owner': 'jonmbake'}, - {'name': 'discourse-math'}, - {'name': 'discourse-openid-connect'}, {'name': 'discourse-prometheus'}, - {'name': 'discourse-reactions'}, {'name': 'discourse-saved-searches'}, - {'name': 'discourse-solved'}, - {'name': 'discourse-spoiler-alert'}, {'name': 'discourse-yearly-review'}, ]