4b04ed1b84
svn path=/nixpkgs/trunk/; revision=9259
23 lines
539 B
Nix
23 lines
539 B
Nix
{ stdenv
|
|
, fetchurl
|
|
, pie ? false
|
|
, socketWrapper ? false
|
|
, cups ? false
|
|
, iprint ? false
|
|
, activeDirectory ? false
|
|
, stateDir ? "/var/samba" # (builtins.getEnv "HOME") + "/sambastate/"
|
|
} :
|
|
|
|
stdenv.mkDerivation {
|
|
name = "samba-3.0.25b";
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
|
url = http://us1.samba.org/samba/ftp/stable/samba-3.0.25b.tar.gz; #TODO, change this to a URL of cs.uu.nl/...
|
|
sha256 = "18l71skn7mryg78jpd8x38pf27wvrx00v33w3z2ycsfnrbcp8l6w";
|
|
};
|
|
|
|
smbconf = ./smb.conf;
|
|
inherit stateDir;
|
|
}
|