2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, fetchpatch }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tt-rss-plugin-auth-ldap";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "unstable-2022-11-30";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hydrian";
|
|
|
|
repo = "TTRSS-Auth-LDAP";
|
2022-12-17 10:02:37 +00:00
|
|
|
rev = "582ade49fd433a30b403caa1d0689fca5f3c99e1";
|
|
|
|
sha256 = "sha256-favz/2KvWqvv8ehTv3gc7TBbFDjkrOmutChnyKPgces=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -D plugins/auth_ldap/init.php $out/auth_ldap/init.php
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Plugin for TT-RSS to authenticate users via ldap";
|
|
|
|
license = licenses.asl20;
|
|
|
|
homepage = "https://github.com/hydrian/TTRSS-Auth-LDAP";
|
|
|
|
maintainers = with maintainers; [ mic92 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|