7671b90919
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.
11 lines
309 B
Nix
11 lines
309 B
Nix
{ mkDiscoursePlugin, fetchFromGitHub }:
|
|
|
|
mkDiscoursePlugin {
|
|
name = "discourse-solved";
|
|
src = fetchFromGitHub {
|
|
owner = "discourse";
|
|
repo = "discourse-solved";
|
|
rev = "179611766d53974308e6f7def21836997c3c55fc";
|
|
sha256 = "sha256:1s77h42d3bv2lqw33akxh8ss482vxnz4d7qz6xicwqfwv34qjf03";
|
|
};
|
|
}
|