22 lines
532 B
Nix
22 lines
532 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
mkDiscoursePlugin,
|
||
|
|
fetchFromGitHub,
|
||
|
|
}:
|
||
|
|
|
||
|
|
mkDiscoursePlugin {
|
||
|
|
name = "discourse-math";
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "discourse";
|
||
|
|
repo = "discourse-math";
|
||
|
|
rev = "90a56a5b463546cba5017cf25168bae759bcbf77";
|
||
|
|
sha256 = "sha256-q8cNRIHYEkaE6QkdsHu4tPwSw3LnCNgKjbyESBXheE0=";
|
||
|
|
};
|
||
|
|
meta = with lib; {
|
||
|
|
homepage = "https://github.com/discourse/discourse-math";
|
||
|
|
maintainers = with maintainers; [ talyz ];
|
||
|
|
license = licenses.mit;
|
||
|
|
description = "Official MathJax support for Discourse";
|
||
|
|
};
|
||
|
|
}
|