diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/tt-rss/plugin-auth-ldap/default.nix')
-rw-r--r-- | nixpkgs/pkgs/servers/tt-rss/plugin-auth-ldap/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/tt-rss/plugin-auth-ldap/default.nix b/nixpkgs/pkgs/servers/tt-rss/plugin-auth-ldap/default.nix new file mode 100644 index 000000000000..f47156091a4b --- /dev/null +++ b/nixpkgs/pkgs/servers/tt-rss/plugin-auth-ldap/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchFromGitHub, fetchpatch }: + +stdenv.mkDerivation rec { + pname = "tt-rss-plugin-auth-ldap"; + version = "unstable-2022-11-30"; + + src = fetchFromGitHub { + owner = "hydrian"; + repo = "TTRSS-Auth-LDAP"; + rev = "582ade49fd433a30b403caa1d0689fca5f3c99e1"; + sha256 = "sha256-favz/2KvWqvv8ehTv3gc7TBbFDjkrOmutChnyKPgces="; + }; + + installPhase = '' + install -D plugins/auth_ldap/init.php $out/auth_ldap/init.php + ''; + + meta = with lib; { + 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; + }; +} |