about summary refs log tree commit diff
path: root/pkgs/servers/web-apps/discourse/plugins/discourse-voting/default.nix
blob: f7748f5a52d37fde7e91741d2e9f36a4a3595c05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ lib, mkDiscoursePlugin, fetchFromGitHub }:

mkDiscoursePlugin {
  name = "discourse-voting";
  src = fetchFromGitHub {
    owner = "discourse";
    repo = "discourse-voting";
    rev = "fc4d23174eba1a57ddcba93eaf4a4e75d469d4a4";
    sha256 = "07mj667qn387kaafg475f36pgnannsrb2bdqi0zj487av43252qb";
  };
  meta = with lib; {
    homepage = "https://github.com/discourse/discourse-voting";
    maintainers = with maintainers; [ dpausp ];
    license = licenses.gpl2Only;
    description = "Adds the ability for voting on a topic within a specified category in Discourse";
  };
}