mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
35 lines
787 B
Nix
35 lines
787 B
Nix
{
|
|
lib,
|
|
nixosTests,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
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
|
|
'';
|
|
|
|
passthru = {
|
|
tests = { inherit (nixosTests) tt-rss; };
|
|
};
|
|
|
|
meta = {
|
|
description = "Plugin for TT-RSS to authenticate users via ldap";
|
|
license = lib.licenses.asl20;
|
|
homepage = "https://github.com/hydrian/TTRSS-Auth-LDAP";
|
|
maintainers = with lib.maintainers; [ mic92 ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|