2008-08-19 07:54:09 +02:00
|
|
|
args : with args; with builderDefs;
|
2008-11-04 22:24:10 +01:00
|
|
|
let localDefs = builderDefs.passthru.function {
|
2008-01-25 11:15:19 +01:00
|
|
|
src = /* put a fetchurl here */
|
|
|
|
fetchurl {
|
|
|
|
url = http://www.ricardis.tudelft.nl/~vincent/fusesmb/download/fusesmb-0.8.7.tar.gz;
|
|
|
|
sha256 = "12gz2gn9iqjg27a233dn2wij7snm7q56h97k6gks0yijf6xcnpz1";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [samba fuse];
|
|
|
|
configureFlags = [];
|
|
|
|
postInstall = FullDepEntry
|
|
|
|
(''
|
|
|
|
ensureDir $out/lib
|
|
|
|
ln -fs ${samba}/lib/libsmbclient.so $out/lib/libsmbclient.so.0
|
|
|
|
'')
|
|
|
|
[ "minInit" "defEnsureDir" "doMakeInstall"];
|
2008-08-19 07:54:09 +02:00
|
|
|
};
|
2008-01-25 11:15:19 +01:00
|
|
|
in with localDefs;
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "smbfs-fuse-"+version;
|
|
|
|
builder = writeScript (name + "-builder")
|
|
|
|
(textClosure localDefs
|
|
|
|
[doConfigure doMakeInstall postInstall doForceShare doPropagate]);
|
2009-03-03 14:27:40 +01:00
|
|
|
meta = {
|
|
|
|
description = "Samba mounted via FUSE";
|
|
|
|
inherit src;
|
|
|
|
};
|
2008-01-25 11:15:19 +01:00
|
|
|
}
|