diff options
Diffstat (limited to 'pkgs/webapps/ttrss/plugins/auth_ldap')
-rw-r--r-- | pkgs/webapps/ttrss/plugins/auth_ldap/auth-ldap.json | 15 | ||||
-rw-r--r-- | pkgs/webapps/ttrss/plugins/auth_ldap/default.nix | 8 |
2 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/webapps/ttrss/plugins/auth_ldap/auth-ldap.json b/pkgs/webapps/ttrss/plugins/auth_ldap/auth-ldap.json new file mode 100644 index 00000000..c8aaab5c --- /dev/null +++ b/pkgs/webapps/ttrss/plugins/auth_ldap/auth-ldap.json | |||
@@ -0,0 +1,15 @@ | |||
1 | { | ||
2 | "tag": "4d751b0-master", | ||
3 | "meta": { | ||
4 | "name": "ttrss-auth-ldap", | ||
5 | "url": "https://github.com/hydrian/TTRSS-Auth-LDAP", | ||
6 | "branch": "master" | ||
7 | }, | ||
8 | "github": { | ||
9 | "owner": "hydrian", | ||
10 | "repo": "TTRSS-Auth-LDAP", | ||
11 | "rev": "4d751b095c29a8dbe2dc7bb07777742956136e94", | ||
12 | "sha256": "0b9fl86acrzpcv41r7pj3bl8b3n72hpkdywzx9zjyfqv5pskxyim", | ||
13 | "fetchSubmodules": true | ||
14 | } | ||
15 | } | ||
diff --git a/pkgs/webapps/ttrss/plugins/auth_ldap/default.nix b/pkgs/webapps/ttrss/plugins/auth_ldap/default.nix new file mode 100644 index 00000000..424a9f7c --- /dev/null +++ b/pkgs/webapps/ttrss/plugins/auth_ldap/default.nix | |||
@@ -0,0 +1,8 @@ | |||
1 | { stdenv, mylibs }: | ||
2 | stdenv.mkDerivation (mylibs.fetchedGithub ./auth-ldap.json // { | ||
3 | installPhase = '' | ||
4 | mkdir $out | ||
5 | cp plugins/auth_ldap/init.php $out | ||
6 | ''; | ||
7 | passthru.pluginName = "auth_ldap"; | ||
8 | }) | ||