Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 mkDiscoursePlugin, 4 fetchFromGitHub, 5}: 6 7mkDiscoursePlugin { 8 name = "discourse-canned-replies"; 9 src = fetchFromGitHub { 10 owner = "discourse"; 11 repo = "discourse-canned-replies"; 12 rev = "732598b6cdc86c74622bb15bfeaebb05611bbc25"; 13 sha256 = "sha256-t0emNsPT8o0ralUedt33ufH0VLl4/12lVBBCnzfdRxE="; 14 }; 15 meta = with lib; { 16 homepage = "https://github.com/discourse/discourse-canned-replies"; 17 maintainers = with maintainers; [ talyz ]; 18 license = licenses.gpl2Only; 19 description = "Adds support for inserting a canned reply into the composer window via a UI"; 20 }; 21}