nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, mkDiscoursePlugin, fetchFromGitHub }:
2
3mkDiscoursePlugin {
4 name = "discourse-solved";
5 src = fetchFromGitHub {
6 owner = "discourse";
7 repo = "discourse-solved";
8 rev = "29a991e60f3ca3bb44d382d675e4458794a683f3";
9 sha256 = "sha256-6flXuGA7SdIlGLYzyY5AXzQF/cEs39XfeptoBia8SHw=";
10 };
11 meta = with lib; {
12 homepage = "https://github.com/discourse/discourse-solved";
13 maintainers = with maintainers; [ talyz ];
14 license = licenses.mit;
15 description = "Allow accepted answers on topics";
16 };
17}