23 lines
612 B
Nix
23 lines
612 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
mkDiscoursePlugin,
|
||
|
|
fetchFromGitHub,
|
||
|
|
}:
|
||
|
|
|
||
|
|
mkDiscoursePlugin {
|
||
|
|
name = "discourse-calendar";
|
||
|
|
bundlerEnvArgs.gemdir = ./.;
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "discourse";
|
||
|
|
repo = "discourse-calendar";
|
||
|
|
rev = "8d09cf8503b78f4c72b47a7319c0f4b9ad0247e7";
|
||
|
|
sha256 = "sha256-ES0/f/sv4Doao/MOdHYMwadRIVXb1I7FgSsl7790tio=";
|
||
|
|
};
|
||
|
|
meta = with lib; {
|
||
|
|
homepage = "https://github.com/discourse/discourse-calendar";
|
||
|
|
maintainers = with maintainers; [ ryantm ];
|
||
|
|
license = licenses.mit;
|
||
|
|
description = "Adds the ability to create a dynamic calendar in the first post of a topic";
|
||
|
|
};
|
||
|
|
}
|