mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
0cf2b35d99
svn path=/nixpkgs/trunk/; revision=7682
19 lines
442 B
Nix
19 lines
442 B
Nix
{stdenv, fetchurl, openldap}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "nss_ldap-254";
|
|
|
|
src = fetchurl {
|
|
url = http://www.padl.com/download/nss_ldap-254.tar.gz;
|
|
md5 = "00475b790d3aff3ccd40a1ab4520965e";
|
|
};
|
|
|
|
preInstall = "
|
|
installFlagsArray=(INST_UID=$(id -u) INST_GID=$(id -g) LIBC_VERS=2.5 NSS_VERS=2)
|
|
substituteInPlace Makefile --replace '/usr$(libdir)' $TMPDIR
|
|
ensureDir $out/etc
|
|
";
|
|
|
|
buildInputs = [openldap];
|
|
}
|