nixpkgs-suyu/pkgs/servers/samba/default.nix
Eelco Dolstra bb45f8360f * Samba 3.0.32.
svn path=/nixpkgs/trunk/; revision=12716
2008-08-26 11:10:10 +00:00

21 lines
520 B
Nix

args: with args;
stdenv.mkDerivation rec {
name = "samba-3.0.32";
src = fetchurl {
url = http://www.samba.org/samba/ftp/stable/samba-3.0.32.tar.gz;
sha256 = "1mpc1w68c4sgpg6n58b6dqv0kzks6rjd9rxym72wbc2yx3h50zwa";
};
buildInputs = [readline pam openldap kerberos popt iniparser libunwind fam];
preConfigure = "cd source";
configureFlags = ''
--with-pam
--with-smbmount
--with-aio-support
${if (stdenv.gcc.libc != null) then "--with-libiconv=${stdenv.gcc.libc}" else ""}
'';
}