discourse: Add a proper plugin builder + a few initial packages
Some discourse plugins have Ruby dependencies and require a specialized builder. This introduces a generic builder that can be used whether the plugin has Ruby dependencies or not. It also adds a set of pre-packaged plugins available through `discourse.plugins` and provides an easy way to add more. (cherry picked from commit 7671b90919af8271bdf7e07bb86d63216a2145d6)
This commit is contained in:
committed by
github-actions[bot]
parent
0a64a8b87c
commit
71474d1e41
@@ -0,0 +1,12 @@
|
||||
{ mkDiscoursePlugin, fetchFromGitHub }:
|
||||
|
||||
mkDiscoursePlugin {
|
||||
name = "discourse-github";
|
||||
bundlerEnvArgs.gemdir = ./.;
|
||||
src = fetchFromGitHub {
|
||||
owner = "discourse";
|
||||
repo = "discourse-github";
|
||||
rev = "151e353a5a1971157c70c2e2b0f56387f212a81f";
|
||||
sha256 = "00kra6zd2k1f2vwcdvxnxnammzh72f5qxcqbb94m0z6maj598wdy";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user