Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 mkDiscoursePlugin, 4 fetchFromGitHub, 5}: 6 7mkDiscoursePlugin { 8 name = "discourse-ldap-auth"; 9 bundlerEnvArgs.gemdir = ./.; 10 src = fetchFromGitHub { 11 owner = "jonmbake"; 12 repo = "discourse-ldap-auth"; 13 rev = "fa1d661004ca99036ff628a9c4be12a81265d784"; 14 sha256 = "sha256-2DYrYgC3H+e8USoo1MbJin1f5tshIUsQa6J7avnpvEc="; 15 }; 16 meta = with lib; { 17 homepage = "https://github.com/jonmbake/discourse-ldap-auth"; 18 maintainers = with maintainers; [ ryantm ]; 19 license = licenses.mit; 20 description = "Discourse plugin to enable LDAP/Active Directory authentication"; 21 }; 22}