1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/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

22 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 ""}
'';
}