{ lib, mkDiscoursePlugin, fetchFromGitHub }: mkDiscoursePlugin { name = "discourse-canned-replies"; src = fetchFromGitHub { owner = "discourse"; repo = "discourse-canned-replies"; rev = "8762b8d0fe28ffcacc427e7a683b971bf125a881"; sha256 = "sha256-ZAm/A45vAofiOiqXS/STt4XO3FJ6XUFyVydsFaI40+k="; }; meta = with lib; { homepage = "https://github.com/discourse/discourse-canned-replies"; maintainers = with maintainers; [ talyz ]; license = licenses.gpl2Only; description = "Adds support for inserting a canned reply into the composer window via a UI"; }; }