discourse.plugins.discourse-bbcode-color: init

This commit is contained in:
Ryan Mulligan 2022-08-11 11:51:58 -07:00
parent 74822578b2
commit 3d332125a4
3 changed files with 19 additions and 0 deletions

View file

@ -4,6 +4,7 @@ let
in in
{ {
discourse-assign = callPackage ./discourse-assign {}; discourse-assign = callPackage ./discourse-assign {};
discourse-bbcode-color = callPackage ./discourse-bbcode-color {};
discourse-calendar = callPackage ./discourse-calendar {}; discourse-calendar = callPackage ./discourse-calendar {};
discourse-canned-replies = callPackage ./discourse-canned-replies {}; discourse-canned-replies = callPackage ./discourse-canned-replies {};
discourse-chat-integration = callPackage ./discourse-chat-integration {}; 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.""" """Update plugins to their latest revision."""
plugins = [ plugins = [
{'name': 'discourse-assign'}, {'name': 'discourse-assign'},
{'name': 'discourse-bbcode-color'},
{'name': 'discourse-calendar'}, {'name': 'discourse-calendar'},
{'name': 'discourse-canned-replies'}, {'name': 'discourse-canned-replies'},
{'name': 'discourse-chat-integration'}, {'name': 'discourse-chat-integration'},