22 lines
573 B
Nix
22 lines
573 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
mkDiscoursePlugin,
|
||
|
|
fetchFromGitHub,
|
||
|
|
}:
|
||
|
|
|
||
|
|
mkDiscoursePlugin {
|
||
|
|
name = "discourse-spoiler-alert";
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "discourse";
|
||
|
|
repo = "discourse-spoiler-alert";
|
||
|
|
rev = "42b77ec048b9b386a8b25a22bfec6472817da465";
|
||
|
|
sha256 = "sha256-BQeID+y9RvmcnuNsodOMXseVvre5QYxv+E/ul8bucUI=";
|
||
|
|
};
|
||
|
|
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";
|
||
|
|
};
|
||
|
|
}
|