nixpkgs/pkgs/servers/samba/default.nix

22 lines
520 B
Nix
Raw Normal View History

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