lol
1{stdenv, fetchurl, pam, openldap}:
2
3stdenv.mkDerivation rec {
4 name = "pam_ldap-183";
5
6 src = fetchurl {
7 url = "http://www.padl.com/download/${name}.tar.gz";
8 sha256 = "1l0mlwvas9dnsfcgbszbzq3bzhdkibn1c3x15fczq3i82faf5g5a";
9 };
10
11 preInstall = "
12 substituteInPlace Makefile --replace '-o root -g root' ''
13 ";
14
15 buildInputs = [pam openldap];
16
17 meta = {
18 homepage = http://www.padl.com/OSS/pam_ldap.html;
19 description = "LDAP backend for PAM";
20 longDescription = ''
21 The pam_ldap module provides the means for Solaris and Linux servers and
22 workstations to authenticate against LDAP directories, and to change their
23 passwords in the directory.'';
24 license = "LGPL";
25 inherit (pam.meta) platforms;
26 };
27}