2021-07-06 18:23:29 +02:00
|
|
|
{ lib, mkDiscoursePlugin, fetchFromGitHub }:
|
2021-06-24 19:45:37 +02:00
|
|
|
|
|
|
|
mkDiscoursePlugin {
|
|
|
|
name = "discourse-spoiler-alert";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "discourse";
|
|
|
|
repo = "discourse-spoiler-alert";
|
2021-09-23 18:51:57 +02:00
|
|
|
rev = "0b93227ea8e2c72afe72029382081ebff89c3638";
|
|
|
|
sha256 = "0x0dxb41ss15sv5ph7z7q55ayf8a7r22bgkmr17924mny5440b5a";
|
2021-07-06 18:23:29 +02:00
|
|
|
};
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/discourse/discourse-spoiler-alert";
|
|
|
|
maintainers = with maintainers; [ talyz ];
|
|
|
|
license = licenses.mit;
|
|
|
|
description = "Hide spoilers behind the spoiler-alert jQuery plugin";
|
2021-06-24 19:45:37 +02:00
|
|
|
};
|
|
|
|
}
|