Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, mkDiscoursePlugin, fetchFromGitHub }:
2
3mkDiscoursePlugin {
4 name = "discourse-math";
5 src = fetchFromGitHub {
6 owner = "discourse";
7 repo = "discourse-math";
8 rev = "69494ca5a4d708e16e35f1daebeaa53e3edbca2c";
9 sha256 = "sha256-C0iVUwj+Lbe6TGfkbu6WxdCeMWVjBaejUh6fXVTqq08=";
10 };
11 meta = with lib; {
12 homepage = "https://github.com/discourse/discourse-math";
13 maintainers = with maintainers; [ talyz ];
14 license = licenses.mit;
15 description = "Official MathJax support for Discourse";
16 };
17}