diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2018-10-01 09:27:11 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2019-02-08 07:08:11 +0000 |
commit | a8244c680a29a8480094782d0630bab4b28082c1 (patch) | |
tree | 09b014a78ae60e68fa555693af37728ba7f7d91d /pkgs/servers/tt-rss | |
parent | 367b1e10cb58fb1aaf4a4cd08b7a8edffda807f2 (diff) | |
download | nixpkgs-a8244c680a29a8480094782d0630bab4b28082c1.tar nixpkgs-a8244c680a29a8480094782d0630bab4b28082c1.tar.gz nixpkgs-a8244c680a29a8480094782d0630bab4b28082c1.tar.bz2 nixpkgs-a8244c680a29a8480094782d0630bab4b28082c1.tar.lz nixpkgs-a8244c680a29a8480094782d0630bab4b28082c1.tar.xz nixpkgs-a8244c680a29a8480094782d0630bab4b28082c1.tar.zst nixpkgs-a8244c680a29a8480094782d0630bab4b28082c1.zip |
tt-rss-plugin-auth-ldap: init at 2.0.0
Diffstat (limited to 'pkgs/servers/tt-rss')
-rw-r--r-- | pkgs/servers/tt-rss/plugin-auth-ldap/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/servers/tt-rss/plugin-auth-ldap/default.nix b/pkgs/servers/tt-rss/plugin-auth-ldap/default.nix new file mode 100644 index 00000000000..85d12cf07be --- /dev/null +++ b/pkgs/servers/tt-rss/plugin-auth-ldap/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchFromGitHub, fetchpatch }: + +stdenv.mkDerivation rec { + name = "tt-rss-plugin-auth-ldap-${version}"; + version = "2.0.0"; + + src = fetchFromGitHub { + owner = "hydrian"; + repo = "TTRSS-Auth-LDAP"; + rev = version; + sha256 = "1mg9jff2m0ajxql1vd1g7hsxfbv9smhrmjg4j2gvvjbii45ry0jh"; + }; + + patches = [ + (fetchpatch { + url = "https://github.com/Mic92/TTRSS-Auth-LDAP/commit/7534fa54babc377a070e05e326a46a252b5e3884.patch"; + sha256 = "1p7zas0n627z0g226dp5m5dg1ai2z3vi69n3xivp517iv3lch70l"; + }) + ]; + + installPhase = '' + install -D plugins/auth_ldap/init.php $out/auth_ldap/init.php + ''; + + meta = with stdenv.lib; { + description = "Plugin for TT-RSS to authenticate users via ldap"; + license = licenses.gpl3; + homepage = https://github.com/hydrian/TTRSS-Auth-LDAP; + maintainers = with maintainers; [ mic92 ]; + platforms = platforms.all; + }; +} |