nixpkgs/pkgs/os-specific/linux/pam/default.nix
Eelco Dolstra 6f2b3f46cc * PAM updated to 1.1.1. Also build with libxcrypt support.
* Cracklib updated.  Removed the dictionary as it should be moved into
  a separate package.

svn path=/nixpkgs/trunk/; revision=22105
2010-06-02 17:31:20 +00:00

16 lines
415 B
Nix

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