about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/web-apps/discourse/plugins/discourse-oauth2-basic/default.nix
blob: b9fa198143917d2b124a77ae1942c8df7aa29752 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ lib, mkDiscoursePlugin, fetchFromGitHub }:

mkDiscoursePlugin rec {
  name = "discourse-oauth2-basic";
  bundlerEnvArgs.gemdir = ./.;
  src = fetchFromGitHub {
    owner = "discourse";
    repo = name;
    rev = "06ba5daa9aabd0487f2f30b944b6500f1f481308";
    sha256 = "sha256-T08Q36k2hb9wVimKIa4O5mWcrr6VBTfHvhRJiLBiRPY=";
  };
  meta = with lib; {
    homepage = "https://github.com/discourse/${name}";
    maintainers = with maintainers; [ ehmry ];
    license = licenses.mit;
    description = "Basic OAuth2 plugin for use with Discourse";
  };
}