tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
discourse.plugins.discourse-voting: Init
Tobias Stenzel
4 years ago
34ba7d2f
3251a4a7
+19
3 changed files
expand all
collapse all
unified
split
pkgs
servers
web-apps
discourse
plugins
all-plugins.nix
discourse-voting
default.nix
update.py
+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
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
1
+
{ lib, mkDiscoursePlugin, fetchFromGitHub }:
2
2
+
3
3
+
mkDiscoursePlugin {
4
4
+
name = "discourse-voting";
5
5
+
src = fetchFromGitHub {
6
6
+
owner = "discourse";
7
7
+
repo = "discourse-voting";
8
8
+
rev = "fc4d23174eba1a57ddcba93eaf4a4e75d469d4a4";
9
9
+
sha256 = "07mj667qn387kaafg475f36pgnannsrb2bdqi0zj487av43252qb";
10
10
+
};
11
11
+
meta = with lib; {
12
12
+
homepage = "https://github.com/discourse/discourse-voting";
13
13
+
maintainers = with maintainers; [ dpausp ];
14
14
+
license = licenses.gpl2Only;
15
15
+
description = "Adds the ability for voting on a topic within a specified category in Discourse";
16
16
+
};
17
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
221
+
{'name': 'discourse-voting'},
221
222
{'name': 'discourse-yearly-review'},
222
223
]
223
224