nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, mkDiscoursePlugin, fetchFromGitHub }:
2
3mkDiscoursePlugin {
4 name = "discourse-calendar";
5 bundlerEnvArgs.gemdir = ./.;
6 src = fetchFromGitHub {
7 owner = "discourse";
8 repo = "discourse-calendar";
9 rev = "d85e8e288d69788e0c3202bb3dab9c3450a98914";
10 sha256 = "sha256-mSn2gGidH4iSZ0fhf3UPh9pwMQurK0YGW2OAtdEWFBQ=";
11 };
12 meta = with lib; {
13 homepage = "https://github.com/discourse/discourse-calendar";
14 maintainers = with maintainers; [ ryantm ];
15 license = licenses.mit;
16 description = "Adds the ability to create a dynamic calendar in the first post of a topic";
17 };
18}