17 lines
525 B
Nix
17 lines
525 B
Nix
{ lib, mkDiscoursePlugin, fetchFromGitHub }:
|
|
|
|
mkDiscoursePlugin {
|
|
name = "discourse-solved";
|
|
src = fetchFromGitHub {
|
|
owner = "discourse";
|
|
repo = "discourse-solved";
|
|
rev = "922ca15fc92bfab496088b5ee240982bd8404f28";
|
|
sha256 = "sha256-s7XNRLDXnrsoB7FUgGaYIVfd7iO3ittIBoqSo2UaUTY=";
|
|
};
|
|
meta = with lib; {
|
|
homepage = "https://github.com/discourse/discourse-solved";
|
|
maintainers = with maintainers; [ talyz ];
|
|
license = licenses.mit;
|
|
description = "Allow accepted answers on topics";
|
|
};
|
|
}
|