1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00
nixpkgs/pkgs/os-specific/linux/pam_unix2/default.nix
Lluís Batlle i Rossell b8c1641515 Making pam_unix2 not link to libxcrypt under armv5tel, because libxcrypt does not build under it.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19824
2010-02-04 18:40:54 +00:00

17 lines
450 B
Nix

{ stdenv, fetchurl, pam, libxcrypt }:
stdenv.mkDerivation {
name = "pam_unix2-2.6";
src = fetchurl {
url = ftp://ftp.suse.com/pub/people/kukuk/pam/pam_unix2/pam_unix2-2.6.tar.bz2;
sha256 = "067xnyd3q8ik73glxwyx1lydk4bgl78lzq44mnqqp4jrpnpd04ml";
};
buildInputs = [ pam ] ++ stdenv.lib.optional (stdenv.system != "armv5tel-linux") libxcrypt;
meta = {
homepage = ftp://ftp.suse.com/pub/people/kukuk/pam/pam_unix2;
};
}