Merge pull request #186331 from ryantm/discourse-bbcode-color

discourse.plugins.discourse-bbcode-color: init
This commit is contained in:
Ryan Mulligan 2022-09-16 12:27:36 -07:00 committed by GitHub
commit 093b3a604f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 0 deletions

View File

@ -4,6 +4,7 @@ let
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 {};

View File

@ -0,0 +1,17 @@
{ lib, mkDiscoursePlugin, fetchFromGitHub }:
mkDiscoursePlugin {
name = "discourse-bbcode-color";
src = fetchFromGitHub {
owner = "discourse";
repo = "discourse-bbcode-color";
rev = "e58c38930122772aef15738676683f7d7ff68411";
sha256 = "sha256-/uHJ9HMXx7YMYsAc3t/s//ucI8I9Wh3wtC/dQCbtbGU=";
};
meta = with lib; {
homepage = "https://github.com/discourse/discourse-bbcode-color";
maintainers = with maintainers; [ ryantm ];
license = licenses.mit;
description = "Support BBCode color tags.";
};
}

View File

@ -283,6 +283,7 @@ 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'},