discourse.plugins.discourse-voting: Init

+19
+1
pkgs/servers/web-apps/discourse/plugins/all-plugins.nix
··· 19 19 discourse-saved-searches = callPackage ./discourse-saved-searches {}; 20 20 discourse-solved = callPackage ./discourse-solved {}; 21 21 discourse-spoiler-alert = callPackage ./discourse-spoiler-alert {}; 22 + discourse-voting = callPackage ./discourse-voting {}; 22 23 discourse-yearly-review = callPackage ./discourse-yearly-review {}; 23 24 }
+17
pkgs/servers/web-apps/discourse/plugins/discourse-voting/default.nix
··· 1 + { lib, mkDiscoursePlugin, fetchFromGitHub }: 2 + 3 + mkDiscoursePlugin { 4 + name = "discourse-voting"; 5 + src = fetchFromGitHub { 6 + owner = "discourse"; 7 + repo = "discourse-voting"; 8 + rev = "fc4d23174eba1a57ddcba93eaf4a4e75d469d4a4"; 9 + sha256 = "07mj667qn387kaafg475f36pgnannsrb2bdqi0zj487av43252qb"; 10 + }; 11 + meta = with lib; { 12 + homepage = "https://github.com/discourse/discourse-voting"; 13 + maintainers = with maintainers; [ dpausp ]; 14 + license = licenses.gpl2Only; 15 + description = "Adds the ability for voting on a topic within a specified category in Discourse"; 16 + }; 17 + }
+1
pkgs/servers/web-apps/discourse/update.py
··· 218 218 {'name': 'discourse-saved-searches'}, 219 219 {'name': 'discourse-solved'}, 220 220 {'name': 'discourse-spoiler-alert'}, 221 + {'name': 'discourse-voting'}, 221 222 {'name': 'discourse-yearly-review'}, 222 223 ] 223 224