nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 mkDiscoursePlugin,
4 fetchFromGitHub,
5}:
6
7mkDiscoursePlugin {
8 name = "discourse-ldap-auth";
9 bundlerEnvArgs.gemdir = ./.;
10 pluginName = "ldap";
11 src = fetchFromGitHub {
12 owner = "jonmbake";
13 repo = "discourse-ldap-auth";
14 rev = "1f225fa60e2cd580596aedd65d0fe76acd221c92";
15 sha256 = "sha256-S51VoXqwcnRYuahfjA1eeonPgy2OZdhiEhlo+zzu//U=";
16 };
17 meta = {
18 homepage = "https://github.com/jonmbake/discourse-ldap-auth";
19 maintainers = with lib.maintainers; [ ryantm ];
20 license = lib.licenses.mit;
21 description = "Discourse plugin to enable LDAP/Active Directory authentication";
22 };
23}