1{
2 lib,
3 mkDiscoursePlugin,
4 fetchFromGitHub,
5}:
6
7mkDiscoursePlugin {
8 name = "discourse-voting";
9 src = fetchFromGitHub {
10 owner = "discourse";
11 repo = "discourse-topic-voting";
12 rev = "d779202749e56aaee2d548b538796fb5db1b9b7c";
13 sha256 = "sha256-8YF7W5SXhI7TGJNZkx5or7bxI0MKiDtx10TE2ekBMuM=";
14 };
15 meta = with lib; {
16 homepage = "https://github.com/discourse/discourse-voting";
17 maintainers = with maintainers; [ dpausp ];
18 license = licenses.gpl2Only;
19 description = "Adds the ability for voting on a topic within a specified category in Discourse";
20 };
21}