nixpkgs/pkgs/os-specific/linux/pam/default.nix
Eelco Dolstra bd124ec21a * Various PAM updates.
svn path=/nixpkgs/branches/stdenv-updates/; revision=14109
2009-02-18 11:40:32 +00:00

19 lines
432 B
Nix

{stdenv, fetchurl, cracklib, flex}:
stdenv.mkDerivation {
name = "linux-pam-1.0.3";
src = fetchurl {
url = mirror://kernel/linux/libs/pam/library/Linux-PAM-1.0.3.tar.bz2;
sha256 = "1xqj4ibnid5w3pi629vj7jiddf192kzm8rbm3vy90diqpl1k5h6n";
};
buildInputs = [flex cracklib];
CRACKLIB_DICTPATH = "${cracklib}/lib";
preConfigure = ''
configureFlags="$configureFlags --includedir=$out/include/security"
'';
}